# HG changeset patch # User darkvater # Date 2004-08-12 22:37:41 # Node ID fdf62504c0318871f781da10ebfca203475f1f0c # Parent 0a71c809e6d0ed118297e384096e70914d2368ee (svn r35) -Fix Change SDL_HWSURFACE back to SDL_SWSURFACE (Diablo-3D); better performance diff --git a/sdl.c b/sdl.c --- a/sdl.c +++ b/sdl.c @@ -295,7 +295,7 @@ static bool CreateMainSurface(int w, int 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;