Add TARGET_OS_OSX ifdef around this

This commit is contained in:
twinaphex 2020-09-14 16:17:31 +02:00
parent 2bfadbdad5
commit fb6642192d

View File

@ -870,8 +870,10 @@ static void *cocoagl_gfx_ctx_init(void *video_driver)
break;
}
#if TARGET_OS_OSX
if (!sel_flushBuffer)
sel_flushBuffer = sel_registerName("flushBuffer");
#endif
return cocoa_ctx;
}