hedgewars/uMisc.pas
changeset 2255 a3eec1b94763
parent 2250 70f344c911ea
child 2256 30797f3a4321
--- a/hedgewars/uMisc.pas	Sat Jul 11 15:22:10 2009 +0000
+++ b/hedgewars/uMisc.pas	Sun Jul 12 02:40:32 2009 +0000
@@ -464,8 +464,8 @@
 if SDL_MustLock(surf) then
 	SDL_UnlockSurface(surf);
 
-//glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
-//glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
+glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
+glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR)
 end;