summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/technique.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/materialsystem/technique.cpp')
-rw-r--r--src/render/materialsystem/technique.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/materialsystem/technique.cpp b/src/render/materialsystem/technique.cpp
index 80362d1d1..65a36e438 100644
--- a/src/render/materialsystem/technique.cpp
+++ b/src/render/materialsystem/technique.cpp
@@ -87,7 +87,7 @@ void Technique::updateFromPeer(Qt3DCore::QNode *peer)
QTechnique *technique = static_cast<QTechnique *>(peer);
- if (technique != Q_NULLPTR) {
+ if (technique != nullptr) {
Q_FOREACH (QParameter *p, technique->parameters())
m_parameterPack.appendParameter(p->id());
Q_FOREACH (QRenderPass *rPass, technique->renderPasses())