ソースを参照

MeshBatch : Fix typo

TothBenoit 4 ヶ月 前
コミット
3c9c0204d3
1 ファイル変更1 行追加0 行削除
  1. 1 0
      h3d/scene/MeshBatch.hx

+ 1 - 0
h3d/scene/MeshBatch.hx

@@ -362,6 +362,7 @@ class MeshBatch extends MultiMaterial {
 								psBytes.setInt32(i*instanceSize+16, i);
 						}
 
+						var ibufMaxCommandCount = ibuf.maxCommandCount;
 						if ( shouldResizeDown(ibufMaxCommandCount, count) || count > ibufMaxCommandCount) {
 							ibuf.allocFromBytes(count, psBytes);
 						} else {