Changeset - r34:fdf62504c031
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-08-12 22:37:41
darkvater@openttd.org
(svn r35) -Fix Change SDL_HWSURFACE back to SDL_SWSURFACE (Diablo-3D); better performance
1 file changed with 1 insertions and 1 deletions:
sdl.c
1
1
0 comments (0 inline, 0 general)
sdl.c
Show inline comments
 
@@ -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;
 

	
0 comments (0 inline, 0 general)