hedgewars/uStore.pas
changeset 2581 10f03732ea60
parent 2580 aeccc8f51d3f
child 2582 e16668bac20f
--- a/hedgewars/uStore.pas	Sun Oct 25 09:02:17 2009 +0000
+++ b/hedgewars/uStore.pas	Sun Oct 25 10:38:09 2009 +0000
@@ -943,7 +943,6 @@
 		exit(SDL_CreateRGBSurface(SDL_SWSURFACE, 32, 32, 32, RMask, GMask, BMask, AMask));
 	end;
 
-{$IFDEF DARWIN}
 //for more information http://www.idevgames.com/forum/showpost.php?p=85864&postcount=7
 if (tmpsurf^.format^.bitsperpixel = 24) or ((tmpsurf^.format^.bitsperpixel = 32) and (tmpsurf^.format^.rshift > tmpsurf^.format^.bshift)) then
 begin
@@ -951,7 +950,6 @@
 	SDL_FreeSurface(tmpsurf);	
 	tmpsurf:= convertedSurf;
 end;
-{$ENDIF}
 
 if (imageFlags and ifTransparent) <> 0 then TryDo(SDL_SetColorKey(tmpsurf, SDL_SRCCOLORKEY, 0) = 0, errmsgTransparentSet, true);
 //if (imageFlags and ifAlpha) <> 0 then Result:= SDL_DisplayFormatAlpha(tmpsurf) else Result:= SDL_DisplayFormat(tmpsurf);