From 0d5e84df02d333d127493e80a20ffc7b36711bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 13 Aug 2008 08:16:41 +0000 Subject: [PATCH] Use GL_CLAMP_TO_EDGE for cap texture, so the cap is painted correctly. svn path=/trunk/KDE/kdebase/workspace/; revision=846173 --- effects/cube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/cube.cpp b/effects/cube.cpp index 222b3ceb31..5943fb75bd 100644 --- a/effects/cube.cpp +++ b/effects/cube.cpp @@ -131,7 +131,7 @@ CubeEffect::CubeEffect() } capTexture = new GLTexture( img ); capTexture->setFilter( GL_LINEAR ); - capTexture->setWrapMode( GL_CLAMP ); + capTexture->setWrapMode( GL_CLAMP_TO_EDGE ); } }