src/video/cocoa/SDL_cocoaopengl.m
changeset 7389 361d1a0c90f6
parent 7347 b4f6a86e8523
child 7408 c50e165abfdf
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Tue Jul 09 13:54:29 2013 -0300
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Tue Jul 09 12:57:12 2013 -0700
     1.3 @@ -119,12 +119,6 @@
     1.4          attr[i++] = profile;
     1.5      }
     1.6  
     1.7 -#ifndef FULLSCREEN_TOGGLEABLE
     1.8 -    if (window->flags & SDL_WINDOW_FULLSCREEN) {
     1.9 -        attr[i++] = NSOpenGLPFAFullScreen;
    1.10 -    }
    1.11 -#endif
    1.12 -
    1.13      attr[i++] = NSOpenGLPFAColorSize;
    1.14      attr[i++] = SDL_BYTESPERPIXEL(display->current_mode.format)*8;
    1.15  
    1.16 @@ -218,11 +212,6 @@
    1.17          SDL_WindowData *windowdata = (SDL_WindowData *)window->driverdata;
    1.18          NSOpenGLContext *nscontext = (NSOpenGLContext *)context;
    1.19  
    1.20 -#ifndef FULLSCREEN_TOGGLEABLE
    1.21 -        if (window->flags & SDL_WINDOW_FULLSCREEN) {
    1.22 -            [nscontext setFullScreen];
    1.23 -        } else
    1.24 -#endif
    1.25          if ([nscontext view] != [windowdata->nswindow contentView]) {
    1.26              [nscontext setView:[windowdata->nswindow contentView]];
    1.27              [nscontext update];