From ee00a9f8f1a90067ecd746e22beae16e4cff0823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 20 Jul 2010 16:45:13 +0000 Subject: [PATCH] Restrict painting of texture to the current rendering region when using a VBO. svn path=/trunk/KDE/kdebase/workspace/; revision=1152296 --- lib/kwinglutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kwinglutils.cpp b/lib/kwinglutils.cpp index 7ab092660f..8876b22521 100644 --- a/lib/kwinglutils.cpp +++ b/lib/kwinglutils.cpp @@ -530,7 +530,7 @@ void GLTexture::render( QRegion region, const QRect& rect ) } if( m_vbo ) { - m_vbo->render( GL_TRIANGLE_STRIP ); + m_vbo->render( region, GL_TRIANGLE_STRIP ); } else {