summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2020-10-04 13:20:00 +0300
committerAntti Määttä <antti.maatta@qt.io>2020-10-06 06:47:33 +0300
commit8080e24c88e011f2bf953bf388d2eb16d7837143 (patch)
treea9751df31a2175e01ba216db6c0889d0305c29d2
parentd0e28c072e402fa1e7dcac639cbc96a8caf2f0d5 (diff)
Fix enabling CullFace renderstatev2.8.0-rc
The enable state name is CullFace and not Culling. Change-Id: I9b5240639adcc805b4c34ac71547ac5afe524a43 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r--src/dm/systems/Qt3DSDMMetaData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dm/systems/Qt3DSDMMetaData.cpp b/src/dm/systems/Qt3DSDMMetaData.cpp
index 5ac78e8..8096385 100644
--- a/src/dm/systems/Qt3DSDMMetaData.cpp
+++ b/src/dm/systems/Qt3DSDMMetaData.cpp
@@ -3018,7 +3018,7 @@ public:
{
if (AreEqual(inState, "Stencil"))
return qt3ds::render::NVRenderState::StencilTest;
- if (AreEqual(inState, "Culling"))
+ if (AreEqual(inState, "CullFace"))
return qt3ds::render::NVRenderState::CullFace;
else {
QT3DS_ASSERT(false);