summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qmatrix4x4
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-11-04 00:56:40 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-11-04 01:40:18 (GMT)
commit79c6049ccaae4434add40d35b3e47a83ff4a102a (patch)
treeb7dc1277998c24780bedb095af94a3ef465d5315 /tests/benchmarks/qmatrix4x4
parentedc9acd6a0c082b7d6c7810700e77a9d990014c6 (diff)
downloadQt-79c6049ccaae4434add40d35b3e47a83ff4a102a.zip
Qt-79c6049ccaae4434add40d35b3e47a83ff4a102a.tar.gz
Qt-79c6049ccaae4434add40d35b3e47a83ff4a102a.tar.bz2
Incorporate API review feedback for math3d classes.
Reviewed-by: Sarah Smith
Diffstat (limited to 'tests/benchmarks/qmatrix4x4')
-rw-r--r--tests/benchmarks/qmatrix4x4/tst_qmatrix4x4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/qmatrix4x4/tst_qmatrix4x4.cpp b/tests/benchmarks/qmatrix4x4/tst_qmatrix4x4.cpp
index 71f45ff..f80b579 100644
--- a/tests/benchmarks/qmatrix4x4/tst_qmatrix4x4.cpp
+++ b/tests/benchmarks/qmatrix4x4/tst_qmatrix4x4.cpp
@@ -220,7 +220,7 @@ void tst_QMatrix4x4::mapVector3D()
QVector3D v(10.5f, -2.0f, 3.0f);
QVector3D result;
- m1.inferSpecialType();
+ m1.optimize();
QBENCHMARK {
result = m1 * v;
@@ -244,7 +244,7 @@ void tst_QMatrix4x4::mapVector2D()
QPointF v(10.5f, -2.0f);
QPointF result;
- m1.inferSpecialType();
+ m1.optimize();
QBENCHMARK {
result = m1 * v;