mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r37) Do not change to HWSURFACE since it's not working!
This commit is contained in:
parent
e21b73bda5
commit
ec31ae9f16
1
sdl.c
1
sdl.c
|
@ -295,6 +295,7 @@ static bool CreateMainSurface(int w, int h)
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue