mirror of https://github.com/OpenTTD/OpenTTD
(svn r37) Do not change to HWSURFACE since it's not working!
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);
|
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));
|
newscreen = SDL_CALL SDL_SetVideoMode(w, h, 8, SDL_SWSURFACE + SDL_HWPALETTE + (_fullscreen?SDL_FULLSCREEN:SDL_RESIZABLE));
|
||||||
if(newscreen == NULL)
|
if(newscreen == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue