Fix splashes
authornemo
Sun, 25 Jul 2010 10:15:56 -0400
changeset 3666 f9c8fc74ac93
parent 3665 bc06dd09cb21
child 3669 19be65b12c43
Fix splashes
hedgewars/uLandTexture.pas
share/hedgewars/Data/Themes/Brick/Splash.png
share/hedgewars/Data/Themes/Stage/Splash.png
--- a/hedgewars/uLandTexture.pas	Fri Jul 23 22:14:56 2010 +0400
+++ b/hedgewars/uLandTexture.pas	Sun Jul 25 10:15:56 2010 -0400
@@ -101,7 +101,7 @@
                     begin
                     shouldUpdate:= false;
                     glBindTexture(GL_TEXTURE_2D, tex^.id);
-                    glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, TEXSIZE, TEXSIZE, GL_RGBA, GL_UNSIGNED_BYTE, Pixels(x, y));
+                    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TEXSIZE, TEXSIZE, 0, GL_RGBA, GL_UNSIGNED_BYTE, Pixels(x,y)); 
                     end
 end;
 
Binary file share/hedgewars/Data/Themes/Brick/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Stage/Splash.png has changed