Fixed compile errors on Mac OS X
authorSam Lantinga
Thu, 27 Apr 2006 09:08:44 +0000
changeset 1738acfd00fbff5c
parent 1737 eacc5bc01d1c
child 1739 3a3e847aadb9
Fixed compile errors on Mac OS X
src/video/quartz/SDL_QuartzGL.m
     1.1 --- a/src/video/quartz/SDL_QuartzGL.m	Thu Apr 27 08:39:51 2006 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzGL.m	Thu Apr 27 09:08:44 2006 +0000
     1.3 @@ -251,7 +251,10 @@
     1.4          case SDL_GL_ACCELERATED_VISUAL:
     1.5          {
     1.6              long val;
     1.7 +	    /* FIXME: How do we get this information here?
     1.8              [fmt getValues: &val forAttribute: NSOpenGLPFAAccelerated attr forVirtualScreen: 0];
     1.9 +	    */
    1.10 +	    val = (this->gl_config.accelerated != 0);;
    1.11              *value = val;
    1.12              return 0;
    1.13          }