Changeset - r36:5fa4dd10a7b1
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-08-12 22:43:11
darkvater@openttd.org
(svn r37) Do not change to HWSURFACE since it's not working!
1 file changed with 1 insertions and 0 deletions:
sdl.c
1
0 comments (0 inline, 0 general)
sdl.c
Show inline comments
 
@@ -295,6 +295,7 @@ static bool CreateMainSurface(int w, int
 

	
 
	DEBUG(misc, 0) ("sdl: using mode %dx%d", w, h);
 

	
 
	// DO NOT CHANGE TO HWSURFACE, IT DOES NOT WORK
 
	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)