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.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/context.cpp b/src/plugins/scenegraph/softwarecontext/context.cpp
index 6f5c997499..b3b97a7d7c 100644
--- a/src/plugins/scenegraph/softwarecontext/context.cpp
+++ b/src/plugins/scenegraph/softwarecontext/context.cpp
@@ -121,8 +121,6 @@ void Renderer::nodeChanged(QSGNode *node, QSGNode::DirtyState state)
PixmapRenderer::PixmapRenderer(QSGRenderContext *context)
: QSGRenderer(context)
- , m_mirrorHorizontal(false)
- , m_mirrorVertical(false)
{
}
@@ -149,12 +147,6 @@ void PixmapRenderer::render(QPixmap *target)
painter.setRenderHint(QPainter::Antialiasing);
painter.setWindow(m_projectionRect);
- if (m_mirrorHorizontal || m_mirrorVertical) {
- QMatrix mirroringMatrix;
- mirroringMatrix.scale(m_mirrorHorizontal ? -1 : 1, m_mirrorVertical ? -1 : 1);
- painter.setMatrix(mirroringMatrix);
- }
-
RenderingVisitor(&painter).visitChildren(rootNode());
}