Don't clip when rendering to FBO.
This commit is contained in:
parent
6252421a70
commit
c6dd3690f5
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ void LanczosFilter::performPaint( EffectWindowImpl* w, int mask, QRegion region,
|
||||||
effects->pushRenderTarget( m_offscreenTarget );
|
effects->pushRenderTarget( m_offscreenTarget );
|
||||||
|
|
||||||
glClear( GL_COLOR_BUFFER_BIT );
|
glClear( GL_COLOR_BUFFER_BIT );
|
||||||
w->sceneWindow()->performPaint( mask, QRegion(0, 0, sw, sh), thumbData );
|
w->sceneWindow()->performPaint( mask, infiniteRegion(), thumbData );
|
||||||
|
|
||||||
// Create a scratch texture and copy the rendered window into it
|
// Create a scratch texture and copy the rendered window into it
|
||||||
GLTexture tex( sw, sh );
|
GLTexture tex( sw, sh );
|
||||||
|
|
Loading…
Reference in a new issue