mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
This reverts commit 1eb82c7fb4.
This commit is contained in:
@@ -51,9 +51,6 @@
|
||||
let bufferCount = middlewareMgr.getBufferCount(nativeFormat);
|
||||
for(let i = 0; i < bufferCount; i++) {
|
||||
let ibBytesLength = middlewareMgr.getIBTypedArrayLength(nativeFormat, i);
|
||||
// middleware common buffer was empty, no need to copy to js mesh buffer
|
||||
if (ibBytesLength == 0) continue;
|
||||
|
||||
let srcVertexCount = 65535;
|
||||
let srcIndicesCount = ibBytesLength / 2; // USHORT
|
||||
let srcVertexFloatCount = srcVertexCount * nativeFormat;
|
||||
|
||||
Reference in New Issue
Block a user