summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-12 22:43:11 +0000
committerdarkvater <darkvater@openttd.org>2004-08-12 22:43:11 +0000
commitec31ae9f16a53a3c6a67bc11c23728f64b6c8cf3 (patch)
tree22106cd4fd0d3fa79278ee5963ad428838b22e8a
parente21b73bda57f9ffc0f9fb40bccce7325815cdd0c (diff)
downloadopenttd-ec31ae9f16a53a3c6a67bc11c23728f64b6c8cf3.tar.xz
(svn r37) Do not change to HWSURFACE since it's not working!
-rw-r--r--sdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index c259380a7..2cd2fd511 100644
--- a/sdl.c
+++ b/sdl.c
@@ -295,6 +295,7 @@ static bool CreateMainSurface(int w, int h)
DEBUG(misc, 0) ("sdl: using mode %dx%d", w, h);
+ // DO NOT CHANGE TO HWSURFACE, IT DOES NOT WORK
newscreen = SDL_CALL SDL_SetVideoMode(w, h, 8, SDL_SWSURFACE + SDL_HWPALETTE + (_fullscreen?SDL_FULLSCREEN:SDL_RESIZABLE));
if(newscreen == NULL)
return false;