summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--softwarecontext/renderingvisitor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/softwarecontext/renderingvisitor.cpp b/softwarecontext/renderingvisitor.cpp
index 869ca6d49e..879c30eb4f 100644
--- a/softwarecontext/renderingvisitor.cpp
+++ b/softwarecontext/renderingvisitor.cpp
@@ -29,6 +29,7 @@
#include <QtQuick/QSGSimpleRectNode>
#include <QtQuick/qsgsimpletexturenode.h>
#include <private/qsgtexture_p.h>
+#include <private/qquickshadereffectnode_p.h>
RenderingVisitor::RenderingVisitor(QPainter *painter)
: painter(painter)
@@ -78,6 +79,8 @@ bool RenderingVisitor::visit(QSGGeometryNode *node)
} else {
Q_UNREACHABLE();
}
+ } else if (QQuickShaderEffectNode *sn = dynamic_cast<QQuickShaderEffectNode *>(node)) {
+ Q_UNUSED(sn)
} else {
Q_UNREACHABLE();
}