From 2b60465579ba1bd86161d9a0469a01e721e32a7c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 27 Apr 2006 09:08:44 +0000 Subject: [PATCH] Fixed compile errors on Mac OS X --- src/video/quartz/SDL_QuartzGL.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/quartz/SDL_QuartzGL.m b/src/video/quartz/SDL_QuartzGL.m index d2a4f526d..ef447451b 100644 --- a/src/video/quartz/SDL_QuartzGL.m +++ b/src/video/quartz/SDL_QuartzGL.m @@ -251,7 +251,10 @@ int QZ_GL_GetAttribute (_THIS, SDL_GLattr attrib, int* value) { 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; }