diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-07-20 09:55:19 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-07-21 08:10:44 +0000 |
commit | 109054eb34e15341d5e59d7e9931e1e5fd3604d3 (patch) | |
tree | e3b7a2ac01ba438c12d7fba2266734ad10537207 /tests | |
parent | a12bc27f19b23177d5a09610fb2e1e2c2e6f1ff7 (diff) |
Fix internal naming consistency for attributes
Change-Id: I4229343144f0a8a234692bfd5147455aa95dd0bf
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/render/qattribute/tst_qattribute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/render/qattribute/tst_qattribute.cpp b/tests/auto/render/qattribute/tst_qattribute.cpp index ec476cdaa..2f7deaa43 100644 --- a/tests/auto/render/qattribute/tst_qattribute.cpp +++ b/tests/auto/render/qattribute/tst_qattribute.cpp @@ -106,8 +106,8 @@ private Q_SLOTS: QCOMPARE(attribute->byteStride(), cloneData.byteStride); QCOMPARE(attribute->byteOffset(), cloneData.byteOffset); QCOMPARE(attribute->divisor(), cloneData.divisor); - QCOMPARE(attribute->vertexBaseType(), cloneData.dataType); - QCOMPARE(attribute->vertexSize(), cloneData.dataSize); + QCOMPARE(attribute->vertexBaseType(), cloneData.vertexBaseType); + QCOMPARE(attribute->vertexSize(), cloneData.vertexSize); QVERIFY(attribute->attributeType() == cloneData.attributeType); QCOMPARE(attribute->buffer() ? attribute->buffer()->id() : Qt3DCore::QNodeId(), cloneData.bufferId); } |