Restrict painting of texture to the current rendering region when using a VBO.

svn path=/trunk/KDE/kdebase/workspace/; revision=1152296
This commit is contained in:
Martin Gräßlin 2010-07-20 16:45:13 +00:00
parent 289e6f5f74
commit ee00a9f8f1

View file

@ -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
{