From 5e307b4ac9f0c278440ab0d624814c4083fef3bd Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 Feb 2006 02:42:05 +0000 Subject: [PATCH] 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/quartz/SDL_QuartzGL.m b/src/video/quartz/SDL_QuartzGL.m index 505509a1e..3ed1ebb58 100644 --- a/src/video/quartz/SDL_QuartzGL.m +++ b/src/video/quartz/SDL_QuartzGL.m @@ -109,7 +109,6 @@ int QZ_SetupOpenGL (_THIS, int bpp, Uint32 flags) { attr[i++] = NSOpenGLPFASamples; attr[i++] = this->gl_config.multisamplesamples; attr[i++] = NSOpenGLPFANoRecovery; - attr[i++] = (NSOpenGLPixelFormatAttribute)nil; } attr[i++] = NSOpenGLPFAScreenMask;