Skip to content

Commit d7a0bdd

Browse files
committed
Handled in batchQuad method
1 parent bddfd70 commit d7a0bdd

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/renderer/webgl/pipelines/MultiPipeline.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,7 @@ var MultiPipeline = new Class({
313313

314314
var unit = this.setGameObject(sprite, frame);
315315

316-
this.manager.preBatch(sprite);
317-
318316
this.batchQuad(sprite, tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, u0, v0, u1, v1, tintTL, tintTR, tintBL, tintBR, sprite.tintEffect, texture, unit);
319-
320-
this.manager.postBatch(sprite);
321317
},
322318

323319
/**
@@ -502,12 +498,7 @@ var MultiPipeline = new Class({
502498
textureUnit = this.renderer.setTexture2D(texture);
503499
}
504500

505-
// TODO - parameter toggle?
506-
// this.manager.preBatch(gameObject);
507-
508501
this.batchQuad(gameObject, tx0, ty0, tx1, ty1, tx2, ty2, tx3, ty3, u0, v0, u1, v1, tintTL, tintTR, tintBL, tintBR, tintEffect, texture, textureUnit);
509-
510-
// this.manager.postBatch(gameObject);
511502
},
512503

513504
/**

0 commit comments

Comments
 (0)