summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp')
-rw-r--r--tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp b/tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp
index ea97071b1..d6f3ce220 100644
--- a/tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp
+++ b/tests/auto/render/opengl/renderviewutils/tst_renderviewutils.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB).
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QtTest/QTest>
#include <qbackendnodetester.h>
@@ -811,8 +811,8 @@ void tst_RenderViewUtils::transformedProperties()
// THEN
QCOMPARE(position0Value, positionQt);
- QCOMPARE(position1Value, viewMatrix * worldMatrix * position);
- QCOMPARE(position2Value, worldMatrix * position);
+ QCOMPARE(position1Value, (viewMatrix * worldMatrix).map(position));
+ QCOMPARE(position2Value, worldMatrix.map(position));
QCOMPARE(position3Value, Vector3D((worldMatrix * Vector4D(position, 0.0f))));
}