From 73d8041d5a3bf645b8f026aa2461ba316d9ffa21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 20 Jul 2010 20:51:44 +0000 Subject: [PATCH] We need normalized tex coords for vbo, too. svn path=/trunk/KDE/kdebase/workspace/; revision=1152364 --- lib/kwinglutils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/kwinglutils.cpp b/lib/kwinglutils.cpp index 8876b22521..3fea301914 100644 --- a/lib/kwinglutils.cpp +++ b/lib/kwinglutils.cpp @@ -530,7 +530,9 @@ void GLTexture::render( QRegion region, const QRect& rect ) } if( m_vbo ) { + enableNormalizedTexCoords(); m_vbo->render( region, GL_TRIANGLE_STRIP ); + disableNormalizedTexCoords(); } else {