changeset 8309 | edcfb5e43245 |
parent 8204 | 9a6030d96273 |
child 8330 | aaefa587e277 |
child 8354 | c25bee85d6f8 |
--- a/hedgewars/uStore.pas Mon Dec 17 00:34:49 2012 +0100 +++ b/hedgewars/uStore.pas Mon Dec 17 00:43:52 2012 +0100 @@ -1234,7 +1234,7 @@ s:= SDL_getenv('SDL_VIDEO_CENTERED'); SDL_putenv('SDL_VIDEO_CENTERED=1'); {$ENDIF} - SDLPrimSurface:= SDL_SetVideoMode(cScreenWidth, cScreenHeight, cBits, flags); + SDLPrimSurface:= SDL_SetVideoMode(cScreenWidth, cScreenHeight, 0, flags); SDLTry(SDLPrimSurface <> nil, true); {$IFDEF WIN32}SDL_putenv(str2pchar('SDL_VIDEO_CENTERED=' + s));{$ENDIF} end;