summaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp')
-rw-r--r--src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp b/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp
index 153edce3be..bcec035939 100644
--- a/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp
+++ b/src/plugins/scenegraph/softwarecontext/renderingvisitor.cpp
@@ -77,12 +77,12 @@ bool RenderingVisitor::visit(QSGGeometryNode *node)
const QImage &im = pt->image();
painter->drawImage(tn->rect(), im, QRectF(0, 0, im.width(), im.height()));
} else {
- Q_UNREACHABLE();
+ //Do nothing
}
} else if (QQuickShaderEffectNode *sn = dynamic_cast<QQuickShaderEffectNode *>(node)) {
Q_UNUSED(sn)
} else {
- Q_UNREACHABLE();
+ //Do nothing
}
return true;
}