From c6dd3690f5a7dcb63a85e28a6cca52899607a5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 2 Jan 2011 10:14:31 +0100 Subject: [PATCH] Don't clip when rendering to FBO. --- lanczosfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lanczosfilter.cpp b/lanczosfilter.cpp index 4eba19bde3..9f03fed9da 100644 --- a/lanczosfilter.cpp +++ b/lanczosfilter.cpp @@ -255,7 +255,7 @@ void LanczosFilter::performPaint( EffectWindowImpl* w, int mask, QRegion region, effects->pushRenderTarget( m_offscreenTarget ); 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 GLTexture tex( sw, sh );