aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgdefaultpainternode.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-08-24 21:42:17 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-08-28 13:49:09 +0200
commit57b0d96b64981c93e1a7decd010d30c0b4883900 (patch)
tree67722fdc7013554ef92ae72ae964aa50afe1bf3d /src/quick/scenegraph/util/qsgdefaultpainternode.cpp
parentdcbfb32c99818da804aabfc3821f5c23ada5686c (diff)
Fix a bunch of compiler warnings
Taks-number: QTBUG-86234 Change-Id: I4c945edecdbe55bc5587c18599d49dfb82ade1eb Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/scenegraph/util/qsgdefaultpainternode.cpp')
-rw-r--r--src/quick/scenegraph/util/qsgdefaultpainternode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgdefaultpainternode.cpp b/src/quick/scenegraph/util/qsgdefaultpainternode.cpp
index 844247521e..d97d48c78d 100644
--- a/src/quick/scenegraph/util/qsgdefaultpainternode.cpp
+++ b/src/quick/scenegraph/util/qsgdefaultpainternode.cpp
@@ -85,6 +85,7 @@ QSGDefaultPainterNode::QSGDefaultPainterNode(QQuickPaintedItem *item)
, m_dirtyRenderTarget(false)
, m_dirtyTexture(false)
{
+ Q_UNUSED(m_multisamplingSupported);
m_context = static_cast<QSGDefaultRenderContext *>(static_cast<QQuickPaintedItemPrivate *>(QObjectPrivate::get(item))->sceneGraphRenderContext());
setMaterial(&m_materialO);