build fix
This commit is contained in:
parent
376a807dea
commit
9987765b1f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue