Skip to content
Permalink
Browse files
macOS: Fix compilation when using the 10.9 SDK or older.
  • Loading branch information
slime73 committed Apr 17, 2019
1 parent cf87d57 commit 9d7b26155a59cdfb7de0d7cba5ed59402762f0ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoaopengl.m
@@ -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);

0 comments on commit 9d7b261

Please sign in to comment.