hedgewars/uStore.pas
changeset 2612 60c7691c348f
parent 2610 8c00c1ee6cac
child 2615 b86abe068708
--- a/hedgewars/uStore.pas	Tue Nov 10 04:22:55 2009 +0000
+++ b/hedgewars/uStore.pas	Tue Nov 10 16:43:15 2009 +0000
@@ -263,6 +263,7 @@
     ai: TAmmoType;
     tmpsurf: PSDL_Surface;
     i: LongInt;
+(* this is a workaround for http://bugzilla.libsdl.org/show_bug.cgi?id=868 remove this when it's fixed in upstream *)
 {$IFDEF DARWIN}
 tmpP: PLongWordArray;
 tmpA, tmpR, tmpG, tmpB: LongWord;
@@ -350,8 +351,8 @@
 					Texture:= Surface2Tex(tmpsurf, false);
 					if (ii = sprWater) and not cReducedQuality then // HACK: We should include some sprite attribute to define the texture wrap directions
 						begin
+					(*	REMOVE ME WHEN BUG ABOVE IS FIXED
 						tmpP := tmpsurf^.pixels; 
-					(*	REMOVE ME WHEN BUG ABOVE IS FIXED
 						for i:= 0 to (tmpsurf^.pitch shr 2) * tmpsurf^.h - 1 do
 						begin
 							tmpA:= tmpP^[i] shr 24 and $FF;