diff -r 2f3e5c57359c -r d06e0e829828 hedgewars/uMisc.pas --- 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