meh. let's try this one too. maybe "_TO_EDGE" is the magic difference
authornemo
Sun, 12 Jul 2009 02:40:32 +0000
changeset 2255 a3eec1b94763
parent 2254 bb68e5a5be56
child 2256 30797f3a4321
meh. let's try this one too. maybe "_TO_EDGE" is the magic difference
hedgewars/uMisc.pas
--- 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;