diff --git a/src/Magnum/MeshTools/Test/CombineTest.cpp b/src/Magnum/MeshTools/Test/CombineTest.cpp index 826e466b7..7e2a49625 100644 --- a/src/Magnum/MeshTools/Test/CombineTest.cpp +++ b/src/Magnum/MeshTools/Test/CombineTest.cpp @@ -112,7 +112,9 @@ void CombineTest::combineIndexedAttributes() { Trade::MeshData c{MeshPrimitive::LineLoop, {}, indicesC, Trade::MeshIndexData{indicesC}, {}, dataC, {Trade::MeshAttributeData{ - Trade::meshAttributeCustom(22), Containers::arrayView(dataC)}}}; + /* Offset-only to verify these aren't causing any issues + internally */ + Trade::meshAttributeCustom(22), VertexFormat::Float, 0, 8, sizeof(Float)}}}; Trade::MeshData result = MeshTools::combineIndexedAttributes({a, b, c}); CORRADE_COMPARE(result.primitive(), MeshPrimitive::LineLoop);