hedgewars/uLandTexture.pas
changeset 2248 26e11cb27c61
parent 2163 12730f5e79b9
child 2376 ece7b87f1334
--- a/hedgewars/uLandTexture.pas	Fri Jul 10 14:46:33 2009 +0000
+++ b/hedgewars/uLandTexture.pas	Fri Jul 10 16:47:11 2009 +0000
@@ -95,11 +95,7 @@
 					begin
 					shouldUpdate:= false;
 					glBindTexture(GL_TEXTURE_2D, tex^.id);
-					{$IFDEF IPHONEOS}
-					glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, TEXSIZE, TEXSIZE, GL_BGRA, GL_UNSIGNED_BYTE, Pixels(x, y));
-					{$ELSE}
 					glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, TEXSIZE, TEXSIZE, GL_RGBA, GL_UNSIGNED_BYTE, Pixels(x, y));
-					{$ENDIF}
 					end
 end;