Fixed compile errors on Mac OS X
authorSam Lantinga <slouken@libsdl.org>
Thu, 27 Apr 2006 09:08:44 +0000
changeset 1738 acfd00fbff5c
parent 1737 eacc5bc01d1c
child 1739 3a3e847aadb9
Fixed compile errors on Mac OS X
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;
         }