From 3200d138b0d43be834705e3b3942fb7ad73f363b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 18 Jan 2021 06:02:32 +0100 Subject: [PATCH] (Cocoa GL) Move variables --- gfx/drivers_context/cocoa_gl_ctx.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/drivers_context/cocoa_gl_ctx.m b/gfx/drivers_context/cocoa_gl_ctx.m index 7274ac1974..25472ac309 100644 --- a/gfx/drivers_context/cocoa_gl_ctx.m +++ b/gfx/drivers_context/cocoa_gl_ctx.m @@ -81,6 +81,7 @@ static unsigned g_major = 0; #ifdef OSX static NSOpenGLPixelFormat* g_format; #endif +static CocoaView* g_instance; #if defined(HAVE_COCOATOUCH) static GLKView *g_view = NULL; @@ -101,8 +102,6 @@ static GLKView *g_view = NULL; @end #endif -static CocoaView* g_instance; - void *nsview_get_ptr(void) { #if defined(OSX)