summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-12 22:37:41 +0000
committerdarkvater <darkvater@openttd.org>2004-08-12 22:37:41 +0000
commit63a0313070d3d32955830fe2170f077c2c7f56f4 (patch)
tree394cb18a987d7523b562fb858007dcf8430a2d7a
parent5a0a007e45851a33bb84ca52764c1d481203e37c (diff)
downloadopenttd-63a0313070d3d32955830fe2170f077c2c7f56f4.tar.xz
(svn r35) -Fix Change SDL_HWSURFACE back to SDL_SWSURFACE (Diablo-3D); better performance
-rw-r--r--sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index cf067ccca..c259380a7 100644
--- a/sdl.c
+++ b/sdl.c
@@ -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;