Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LinYunMo committed Sep 20, 2023
1 parent 5f2a474 commit 89e8ed1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cocos/2d/renderer/batcher-2d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,6 @@ export class Batcher2D implements IBatcher {
} else {
for (let i = 0; i < this._batches.length; ++i) {
const batch = this._batches.array[i];
if (batch.isStatic) {
continue;
}

batch.clear();
this._drawBatchPool.free(batch);
}
Expand Down

0 comments on commit 89e8ed1

Please sign in to comment.