src/video/cocoa/SDL_cocoaopengl.m
changeset 10008 fb4e35d0d523
parent 9998 f67cf37e9cd4
child 10690 23a825f341e6
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Mon Jan 04 16:36:42 2016 -0500
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Mon Jan 04 22:00:04 2016 -0500
     1.3 @@ -173,6 +173,8 @@
     1.4          return NULL;
     1.5      }
     1.6  
     1.7 +    attr[i++] = NSOpenGLPFAAllowOfflineRenderers;
     1.8 +
     1.9      /* specify a profile if we're on Lion (10.7) or later. */
    1.10      if (lion_or_later) {
    1.11          NSOpenGLPixelFormatAttribute profile = NSOpenGLProfileVersionLegacy;