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
Line #102 (or somewhere around there, my SDL copy is a bit old.)
The code:
if ( this->gl_config.multisamplesamples != 0 ) {
attr[i++] = NSOpenGLPFASamples;
attr[i++] = this->gl_config.multisamplesamples;
attr[i++] = NSOpenGLPFANoRecovery;
attr[i++] = (NSOpenGLPixelFormatAttribute)nil;
}
Change to:
if ( this->gl_config.multisamplesamples != 0 ) {
attr[i++] = NSOpenGLPFASamples;
attr[i++] = this->gl_config.multisamplesamples;
attr[i++] = NSOpenGLPFANoRecovery;
// KILL THIS LINE!
}
NSOpenGLPFANoRecovery DOES NOT have any params following it. This is
what kills it.
Please fix
[>] Brian