projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1cb18f
)
SDL_GL_SWAP_CONTROL depends on SDL version
author
Matthias Braun
<matze@braunis.de>
Sun, 27 Jul 2008 20:00:58 +0000
(20:00 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sun, 27 Jul 2008 20:00:58 +0000
(20:00 +0000)
SVN-Revision: 5694
src/video/gl_renderer.cpp
patch
|
blob
|
history
diff --git
a/src/video/gl_renderer.cpp
b/src/video/gl_renderer.cpp
index
acb1174
..
83c1847
100644
(file)
--- a/
src/video/gl_renderer.cpp
+++ b/
src/video/gl_renderer.cpp
@@
-151,8
+151,7
@@
Renderer::Renderer()
if(texture_manager != 0)
texture_manager->save_textures();
-#ifndef GP2X
- //FIXME: This is not supported on the GP2X
+#ifdef SDL_GL_SWAP_CONTROL
if(config->try_vsync) {
/* we want vsync for smooth scrolling */
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);