Fixed compile errors on Mac OS X
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401673
This commit is contained in:
parent
37adc6aae8
commit
5deaddd7c3
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue