summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
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;
}
}