# HG changeset patch # User Sam Lantinga # Date 1146128924 0 # Node ID acfd00fbff5c520abc335c112dc1c9704b324670 # Parent eacc5bc01d1cf0a3a87de85c4bc8b6fbc73c35de Fixed compile errors on Mac OS X diff -r eacc5bc01d1c -r acfd00fbff5c src/video/quartz/SDL_QuartzGL.m --- a/src/video/quartz/SDL_QuartzGL.m Thu Apr 27 08:39:51 2006 +0000 +++ b/src/video/quartz/SDL_QuartzGL.m Thu Apr 27 09:08:44 2006 +0000 @@ -251,7 +251,10 @@ case SDL_GL_ACCELERATED_VISUAL: { long val; + /* FIXME: How do we get this information here? [fmt getValues: &val forAttribute: NSOpenGLPFAAccelerated attr forVirtualScreen: 0]; + */ + val = (this->gl_config.accelerated != 0);; *value = val; return 0; }