hedgewars/CCHandlers.inc
changeset 2575 d06e0e829828
parent 2570 7093e3413594
child 2576 2eb7ce1c1f19
--- a/hedgewars/CCHandlers.inc	Wed Oct 21 19:41:24 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Thu Oct 22 18:59:35 2009 +0000
@@ -624,8 +624,8 @@
 	SDL_FreeSurface(SDLPrimSurface);
 	end;
 
-{$IFDEF DARWIN}
-//remove the topbar from Mac and iPhone
+{$IFDEF IPHONEOS}
+//remove the topbar from iPhone
 flags:= flags or SDL_NOFRAME;
 {$ENDIF}
 
@@ -640,7 +640,7 @@
 {$IFDEF DEBUGFILE}
 AddFileLog('SDL video driver: ' + string(SDL_VideoDriverName(buf, sizeof(buf))));
 {$ENDIF}
-PixelFormat:= SDLPrimSurface^.format
+PixelFormat:=@convFormat// SDLPrimSurface^.format
 end;
 
 procedure chVol_p(var s: shortstring);