Skip to content

Commit

Permalink
Fixed compile errors on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Apr 27, 2006
1 parent cd1305d commit 2b60465
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/quartz/SDL_QuartzGL.m
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2b60465

Please sign in to comment.