diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-12 05:32:07 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-12 05:32:07 +0000 |
| commit | ecfadf151924e442fa0e00981b0b2c83681a8786 (patch) | |
| tree | 34d8272e9eec32c6ad69fbb46f8ab0e77cb42ee2 /Graphics/GraphicsEngineOpenGL | |
| parent | Implemented render pass input attachment test Metal reference (diff) | |
| download | DiligentCore-ecfadf151924e442fa0e00981b0b2c83681a8786.tar.gz DiligentCore-ecfadf151924e442fa0e00981b0b2c83681a8786.zip | |
Few updates to support Metal backend
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm b/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm index c3e63f88..d950f302 100644 --- a/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm +++ b/Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm @@ -101,6 +101,6 @@ namespace Diligent GLContext::NativeGLContextType GLContext::GetCurrentNativeGLContext() { NSOpenGLContext* CurrentCtx = [NSOpenGLContext currentContext]; - return CurrentCtx; + return (__bridge void*) CurrentCtx; } } |
