macOS: Fix compilation when using the 10.9 SDK or older.
diff --git a/src/video/cocoa/SDL_cocoaopengl.m b/src/video/cocoa/SDL_cocoaopengl.m
index f4acd62..c014308 100644
--- a/src/video/cocoa/SDL_cocoaopengl.m
+++ b/src/video/cocoa/SDL_cocoaopengl.m
@@ -322,7 +322,7 @@
 
     /* 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);