diff options
author | darkvater <darkvater@openttd.org> | 2004-08-12 22:43:11 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-12 22:43:11 +0000 |
commit | ec31ae9f16a53a3c6a67bc11c23728f64b6c8cf3 (patch) | |
tree | 22106cd4fd0d3fa79278ee5963ad428838b22e8a | |
parent | e21b73bda57f9ffc0f9fb40bccce7325815cdd0c (diff) | |
download | openttd-ec31ae9f16a53a3c6a67bc11c23728f64b6c8cf3.tar.xz |
(svn r37) Do not change to HWSURFACE since it's not working!
-rw-r--r-- | sdl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |