diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 7420cdabb0..bd47cfe3f2 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -734,7 +734,7 @@ void SceneOpenGL::paintBackground( QRegion region ) glPopAttrib(); return; } - if( clip() && pc.paintArea().isEmpty()) + if( pc.clip() && pc.paintArea().isEmpty()) return; // no background to paint glPushAttrib( GL_CURRENT_BIT ); glColor4f( 0, 0, 0, 1 ); // black