diff options
author | darkvater <darkvater@openttd.org> | 2004-08-12 22:37:41 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-12 22:37:41 +0000 |
commit | 63a0313070d3d32955830fe2170f077c2c7f56f4 (patch) | |
tree | 394cb18a987d7523b562fb858007dcf8430a2d7a | |
parent | 5a0a007e45851a33bb84ca52764c1d481203e37c (diff) | |
download | openttd-63a0313070d3d32955830fe2170f077c2c7f56f4.tar.xz |
(svn r35) -Fix Change SDL_HWSURFACE back to SDL_SWSURFACE (Diablo-3D); better performance
-rw-r--r-- | sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ static bool CreateMainSurface(int w, int h) DEBUG(misc, 0) ("sdl: using mode %dx%d", w, h); - newscreen = SDL_CALL SDL_SetVideoMode(w, h, 8, SDL_HWSURFACE + SDL_HWPALETTE + (_fullscreen?SDL_FULLSCREEN:SDL_RESIZABLE)); + newscreen = SDL_CALL SDL_SetVideoMode(w, h, 8, SDL_SWSURFACE + SDL_HWPALETTE + (_fullscreen?SDL_FULLSCREEN:SDL_RESIZABLE)); if(newscreen == NULL) return false; |