src/video/quartz/SDL_QuartzGL.m
changeset 900 c3c8739f7844
parent 890 416158ec61a0
child 1160 72c6c3e5bb85
equal deleted inserted replaced
899:5daa782c6d58 900:c3c8739f7844
   100     }
   100     }
   101 
   101 
   102     if ( this->gl_config.multisamplesamples != 0 ) {
   102     if ( this->gl_config.multisamplesamples != 0 ) {
   103         attr[i++] = NSOpenGLPFASamples;
   103         attr[i++] = NSOpenGLPFASamples;
   104         attr[i++] = this->gl_config.multisamplesamples;
   104         attr[i++] = this->gl_config.multisamplesamples;
       
   105         attr[i++] = NSOpenGLPFANoRecovery;
       
   106         attr[i++] = (NSOpenGLPixelFormatAttribute)nil;
   105     }
   107     }
   106 
   108 
   107     attr[i++] = NSOpenGLPFAScreenMask;
   109     attr[i++] = NSOpenGLPFAScreenMask;
   108     attr[i++] = CGDisplayIDToOpenGLDisplayMask (display_id);
   110     attr[i++] = CGDisplayIDToOpenGLDisplayMask (display_id);
   109     attr[i] = 0;
   111     attr[i] = 0;