src/video/quartz/SDL_QuartzGL.m
changeset 1400 5abff0870de2
parent 1195 bb6791b0a268
child 1403 376665398b25
equal deleted inserted replaced
1399:c35c161a1100 1400:5abff0870de2
   107 
   107 
   108     if ( this->gl_config.multisamplesamples != 0 ) {
   108     if ( this->gl_config.multisamplesamples != 0 ) {
   109         attr[i++] = NSOpenGLPFASamples;
   109         attr[i++] = NSOpenGLPFASamples;
   110         attr[i++] = this->gl_config.multisamplesamples;
   110         attr[i++] = this->gl_config.multisamplesamples;
   111         attr[i++] = NSOpenGLPFANoRecovery;
   111         attr[i++] = NSOpenGLPFANoRecovery;
   112         attr[i++] = (NSOpenGLPixelFormatAttribute)nil;
       
   113     }
   112     }
   114 
   113 
   115     attr[i++] = NSOpenGLPFAScreenMask;
   114     attr[i++] = NSOpenGLPFAScreenMask;
   116     attr[i++] = CGDisplayIDToOpenGLDisplayMask (display_id);
   115     attr[i++] = CGDisplayIDToOpenGLDisplayMask (display_id);
   117     attr[i] = 0;
   116     attr[i] = 0;