From ecfadf151924e442fa0e00981b0b2c83681a8786 Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 11 Nov 2020 21:32:07 -0800 Subject: Few updates to support Metal backend --- Graphics/GraphicsEngineOpenGL/src/GLContextMacOS.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') 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; } } -- cgit v1.2.3