Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
macOS: Fix compilation when using the 10.9 SDK or older.
  • Loading branch information
slime73 committed Apr 17, 2019
1 parent cf87d57 commit 9d7b261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoaopengl.m
Expand Up @@ -322,7 +322,7 @@ - (void)dealloc

/* vsync is handled separately by synchronizing with a display link. */
interval = 0;
[context setValues:&interval forParameter:NSOpenGLContextParameterSwapInterval];
[context setValues:&interval forParameter:NSOpenGLCPSwapInterval];

if ( Cocoa_GL_MakeCurrent(_this, window, context) < 0 ) {
Cocoa_GL_DeleteContext(_this, context);
Expand Down

0 comments on commit 9d7b261

Please sign in to comment.