diff options
Diffstat (limited to 'tests/auto/quick/geometry/tst_geometry.cpp')
-rw-r--r-- | tests/auto/quick/geometry/tst_geometry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/geometry/tst_geometry.cpp b/tests/auto/quick/geometry/tst_geometry.cpp index 470ce3bd91..904f85c4c6 100644 --- a/tests/auto/quick/geometry/tst_geometry.cpp +++ b/tests/auto/quick/geometry/tst_geometry.cpp @@ -126,9 +126,9 @@ void GeometryTest::testCustomGeometry() }; static QSGGeometry::Attribute attributes[] = { - QSGGeometry::Attribute::create(0, 2, QSGGeometry::TypeFloat, false), - QSGGeometry::Attribute::create(1, 4, QSGGeometry::TypeUnsignedByte, false), - QSGGeometry::Attribute::create(2, 4, QSGGeometry::TypeFloat, false) + QSGGeometry::Attribute::create(0, 2, QSGGeometry::FloatType, false), + QSGGeometry::Attribute::create(1, 4, QSGGeometry::UnsignedByteType, false), + QSGGeometry::Attribute::create(2, 4, QSGGeometry::FloatType, false) }; static QSGGeometry::AttributeSet set = { 4, 6 * sizeof(float) + 4 * sizeof(unsigned char), attributes }; |