aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/context.cpp')
-rw-r--r--src/plugins/scenegraph/softwarecontext/context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/context.cpp b/src/plugins/scenegraph/softwarecontext/context.cpp
index d25406ce2d..dafbfdaae9 100644
--- a/src/plugins/scenegraph/softwarecontext/context.cpp
+++ b/src/plugins/scenegraph/softwarecontext/context.cpp
@@ -147,6 +147,7 @@ void PixmapRenderer::render(QPixmap *target)
target->fill(clearColor());
QPainter painter(target);
painter.setRenderHint(QPainter::Antialiasing);
+ painter.setWindow(m_projectionRect);
RenderingVisitor(&painter).visitChildren(rootNode());
}