diff options
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/context.cpp')
-rw-r--r-- | src/plugins/scenegraph/softwarecontext/context.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/context.cpp b/src/plugins/scenegraph/softwarecontext/context.cpp index 4278020..1d3bec6 100644 --- a/src/plugins/scenegraph/softwarecontext/context.cpp +++ b/src/plugins/scenegraph/softwarecontext/context.cpp @@ -82,8 +82,9 @@ void Renderer::render() QPaintDevice *device = m_backingStore->paintDevice(); QPainter painter(device); painter.setRenderHint(QPainter::Antialiasing); - + painter.setCompositionMode(QPainter::CompositionMode_Source); painter.fillRect(rect, clearColor()); + painter.setCompositionMode(QPainter::CompositionMode_SourceOver); RenderingVisitor(&painter).visitChildren(rootNode()); m_backingStore->endPaint(); |