comparison src/video/quartz/SDL_QuartzGL.m @ 1400:5abff0870de2

Date: Mon, 20 Feb 2006 19:54:51 -0500 From: Brian Barnes Subject: [SDL] Fix for FSAA OS X bug -- Please fix in CVS Code I stopped complaining and went in an fixed the bug myself :) SDL always dies if you try to use FSAA on Mac OS X, the problem is in the file: SDL_QuartzGL.m
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 02:42:05 +0000
parents bb6791b0a268
children 376665398b25
comparison
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;