mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-06 03:52:37 +01:00
(svn r37) Do not change to HWSURFACE since it's not working!
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user