src/video/quartz/SDL_QuartzGL.m
changeset 1738 acfd00fbff5c
parent 1737 eacc5bc01d1c
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1737:eacc5bc01d1c 1738:acfd00fbff5c
   249             return 0;
   249             return 0;
   250         }
   250         }
   251         case SDL_GL_ACCELERATED_VISUAL:
   251         case SDL_GL_ACCELERATED_VISUAL:
   252         {
   252         {
   253             long val;
   253             long val;
       
   254 	    /* FIXME: How do we get this information here?
   254             [fmt getValues: &val forAttribute: NSOpenGLPFAAccelerated attr forVirtualScreen: 0];
   255             [fmt getValues: &val forAttribute: NSOpenGLPFAAccelerated attr forVirtualScreen: 0];
       
   256 	    */
       
   257 	    val = (this->gl_config.accelerated != 0);;
   255             *value = val;
   258             *value = val;
   256             return 0;
   259             return 0;
   257         }
   260         }
   258         case SDL_GL_SWAP_CONTROL:
   261         case SDL_GL_SWAP_CONTROL:
   259         {
   262         {