Add TARGET_OS_OSX ifdef around this
This commit is contained in:
parent
2bfadbdad5
commit
fb6642192d
|
@ -870,8 +870,10 @@ static void *cocoagl_gfx_ctx_init(void *video_driver)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if TARGET_OS_OSX
|
||||||
if (!sel_flushBuffer)
|
if (!sel_flushBuffer)
|
||||||
sel_flushBuffer = sel_registerName("flushBuffer");
|
sel_flushBuffer = sel_registerName("flushBuffer");
|
||||||
|
#endif
|
||||||
|
|
||||||
return cocoa_ctx;
|
return cocoa_ctx;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue