mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
build fix
This commit is contained in:
parent
376a807dea
commit
9987765b1f
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue