changeset 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 3a3e847aadb9
files src/video/quartz/SDL_QuartzGL.m
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;
         }