(svn r35) -Fix Change SDL_HWSURFACE back to SDL_SWSURFACE (Diablo-3D); better performance

This commit is contained in:
darkvater 2004-08-12 22:37:41 +00:00
parent 5a0a007e45
commit 63a0313070
1 changed files with 1 additions and 1 deletions

2
sdl.c
View File

@ -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;