src/video/cocoa/SDL_cocoaopengl.m
changeset 7037 3fedf1f25b94
parent 6952 d2e309e7f77c
child 7085 152cc7ddfa57
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -274,8 +274,7 @@
     1.4          [nscontext setValues:&value forParameter:NSOpenGLCPSwapInterval];
     1.5          status = 0;
     1.6      } else {
     1.7 -        SDL_SetError("No current OpenGL context");
     1.8 -        status = -1;
     1.9 +        status = SDL_SetError("No current OpenGL context");
    1.10      }
    1.11  
    1.12      [pool release];