hedgewars/uMisc.pas
changeset 2575 d06e0e829828
parent 2568 e654cbfb23ba
child 2576 2eb7ce1c1f19
--- a/hedgewars/uMisc.pas	Wed Oct 21 19:41:24 2009 +0000
+++ b/hedgewars/uMisc.pas	Thu Oct 22 18:59:35 2009 +0000
@@ -396,13 +396,13 @@
 if (surf^.format^.BytesPerPixel = 3) then
 	begin
 		modeIntFormat:= GL_RGB;
-		modeFormat:= modeIntFormat;
+		modeFormat:= GL_RGB;
 	end
 else
 if (surf^.format^.BytesPerPixel = 4) then
 	begin
 		modeIntFormat:= GL_RGBA;
-		modeFormat:= modeIntFormat;
+		modeFormat:= GL_RGBA;
 	end
 else
    begin