summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-12 05:32:07 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-12 05:32:07 +0000
commitecfadf151924e442fa0e00981b0b2c83681a8786 (patch)
tree34d8272e9eec32c6ad69fbb46f8ab0e77cb42ee2 /Graphics/GraphicsEngineOpenGL
parentImplemented render pass input attachment test Metal reference (diff)
downloadDiligentCore-ecfadf151924e442fa0e00981b0b2c83681a8786.tar.gz
DiligentCore-ecfadf151924e442fa0e00981b0b2c83681a8786.zip
Few updates to support Metal backend
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm2
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;
}
}