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:
parent
289e6f5f74
commit
ee00a9f8f1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue