Fix compilation error of CC_ASSERT_EQ in Mesh.cpp (#16444)

This commit is contained in:
James Chen
2023-10-27 15:06:39 +08:00
committed by GitHub
parent 77d1385bb2
commit f73a4e4135
+1 -1
View File
@@ -1338,7 +1338,7 @@ void Mesh::tryConvertVertexData() {
const uint32_t stride = view.stride;
uint32_t dstStride = stride;
CC_ASSERT_EQ(count * stride == length);
CC_ASSERT_EQ(count * stride, length);
checkAttributesNeedConvert(orignalAttributes, attributes, attributeIndicsNeedConvert, dstStride);
if (attributeIndicsNeedConvert.empty()) {