diff src/video/quartz/SDL_QuartzGL.m @ 1738:acfd00fbff5c

Fixed compile errors on Mac OS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Apr 2006 09:08:44 +0000
parents eacc5bc01d1c
children c121d94672cb a1b03ba2fcd0
line wrap: on
line diff
--- 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;
         }