mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Fix compilation error of CC_ASSERT_EQ in Mesh.cpp (#16444)
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user