From 63a0313070d3d32955830fe2170f077c2c7f56f4 Mon Sep 17 00:00:00 2001 From: darkvater Date: Thu, 12 Aug 2004 22:37:41 +0000 Subject: (svn r35) -Fix Change SDL_HWSURFACE back to SDL_SWSURFACE (Diablo-3D); better performance --- sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdl.c') 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; -- cgit v1.2.3-54-g00ecf