mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
build fix
This commit is contained in:
@ -335,7 +335,6 @@ Renderer::Renderer()
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
int swapInterval = g_ActiveConfig.bVSync ? 1 : 0;
|
int swapInterval = g_ActiveConfig.bVSync ? 1 : 0;
|
||||||
NSOpenGLContext *ctx = GLWin.cocoaCtx;
|
NSOpenGLContext *ctx = GLWin.cocoaCtx;
|
||||||
#endif
|
|
||||||
[ctx setValues: &swapInterval forParameter: NSOpenGLCPSwapInterval];
|
[ctx setValues: &swapInterval forParameter: NSOpenGLCPSwapInterval];
|
||||||
#elif defined _WIN32
|
#elif defined _WIN32
|
||||||
if (WGLEW_EXT_swap_control)
|
if (WGLEW_EXT_swap_control)
|
||||||
|
Reference in New Issue
Block a user