src/video/cocoa/SDL_cocoaopengl.m
changeset 7743 360acf8c1526
parent 7738 10981a646a6d
child 7746 6a05d7352575
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Fri Sep 13 17:42:46 2013 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Sat Sep 14 01:30:57 2013 -0400
     1.3 @@ -302,6 +302,10 @@
     1.4      GLint value;
     1.5      int status;
     1.6  
     1.7 +    if (interval < 0) {  /* no extension for this on Mac OS X at the moment. */
     1.8 +        return SDL_SetError("Late swap tearing currently unsupported");
     1.9 +    }
    1.10 +
    1.11      pool = [[NSAutoreleasePool alloc] init];
    1.12  
    1.13      nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();