Fixed compile errors on Mac OS X

This commit is contained in:
Sam Lantinga
2006-04-27 09:08:44 +00:00
parent bc35de2e30
commit 2697684f34

View File

@@ -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;
}