mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
first try of osx fix, mostly by pauldachz
This commit is contained in:
parent
dae1226e1b
commit
376a807dea
8 changed files with 8 additions and 150 deletions
|
@ -334,9 +334,6 @@ Renderer::Renderer()
|
|||
// Handle VSync on/off
|
||||
#ifdef __APPLE__
|
||||
int swapInterval = g_ActiveConfig.bVSync ? 1 : 0;
|
||||
#if defined USE_WX && USE_WX
|
||||
NSOpenGLContext *ctx = GLWin.glCtxt->GetWXGLContext();
|
||||
#else
|
||||
NSOpenGLContext *ctx = GLWin.cocoaCtx;
|
||||
#endif
|
||||
[ctx setValues: &swapInterval forParameter: NSOpenGLCPSwapInterval];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue