changeset 2240 | 7ce9e6b7be3b |
parent 2205 | e8573a7cab06 |
child 2253 | ecd10eaa5daf |
--- a/hedgewars/CCHandlers.inc Tue Jul 07 15:24:43 2009 +0000 +++ b/hedgewars/CCHandlers.inc Tue Jul 07 21:48:55 2009 +0000 @@ -577,9 +577,10 @@ if SDLPrimSurface <> nil then SDL_FreeSurface(SDLPrimSurface); {$IFDEF DARWIN} -{Fix for the Mac titlebar bug} +//remove the topbar from Mac and iPhone flags:= flags or SDL_NOFRAME; {$ENDIF} + SDLPrimSurface:= SDL_SetVideoMode(cScreenWidth, cScreenHeight, cBits, flags); SDLTry(SDLPrimSurface <> nil, true);