Date: Mon, 20 Feb 2006 19:54:51 -0500
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Feb 2006 02:42:05 +0000
changeset 1400 5abff0870de2
parent 1399 c35c161a1100
child 1401 1819fd069e89
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
src/video/quartz/SDL_QuartzGL.m
--- a/src/video/quartz/SDL_QuartzGL.m	Mon Feb 20 23:18:49 2006 +0000
+++ b/src/video/quartz/SDL_QuartzGL.m	Tue Feb 21 02:42:05 2006 +0000
@@ -109,7 +109,6 @@
         attr[i++] = NSOpenGLPFASamples;
         attr[i++] = this->gl_config.multisamplesamples;
         attr[i++] = NSOpenGLPFANoRecovery;
-        attr[i++] = (NSOpenGLPixelFormatAttribute)nil;
     }
 
     attr[i++] = NSOpenGLPFAScreenMask;