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

svn path=/trunk/KDE/kdebase/workspace/; revision=1152296
icc-effect-5.14.5
Martin Gräßlin 2010-07-20 16:45:13 +00:00
parent 289e6f5f74
commit ee00a9f8f1
1 changed files with 1 additions and 1 deletions

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
{