hedgewars/CCHandlers.inc
changeset 1836 da31003c151f
parent 1821 6b6cf3389f92
child 1849 2a989e5abda6
--- a/hedgewars/CCHandlers.inc	Mon Feb 23 20:39:31 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Mon Feb 23 20:43:05 2009 +0000
@@ -519,6 +519,10 @@
 {$ENDIF}
 if SDLPrimSurface <> nil then SDL_FreeSurface(SDLPrimSurface);
 
+{$IFDEF DARWIN}
+{Fix for the Mac titlebar bug}
+flags:= flags or SDL_NOFRAME;
+{$ENDIF}
 SDLPrimSurface:= SDL_SetVideoMode(cScreenWidth, cScreenHeight, cBits, flags);
 SDLTry(SDLPrimSurface <> nil, true);