mirror of
https://github.com/joel16/SDL2.git
synced 2025-02-12 23:22:29 +00:00
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
@ -251,7 +251,10 @@ int QZ_GL_GetAttribute (_THIS, SDL_GLattr attrib, int* value) {
|
|||||||
case SDL_GL_ACCELERATED_VISUAL:
|
case SDL_GL_ACCELERATED_VISUAL:
|
||||||
{
|
{
|
||||||
long val;
|
long val;
|
||||||
|
/* FIXME: How do we get this information here?
|
||||||
[fmt getValues: &val forAttribute: NSOpenGLPFAAccelerated attr forVirtualScreen: 0];
|
[fmt getValues: &val forAttribute: NSOpenGLPFAAccelerated attr forVirtualScreen: 0];
|
||||||
|
*/
|
||||||
|
val = (this->gl_config.accelerated != 0);;
|
||||||
*value = val;
|
*value = val;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user