Skip to content

Commit 9e4141e

Browse files
committed
Pass the Game Object
1 parent b1b44cd commit 9e4141e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/webgl/pipelines/MultiPipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ var MultiPipeline = new Class({
203203
batchSprite: function (sprite, camera, parentTransformMatrix)
204204
{
205205
// Will cause a flush if this isn't the current pipeline, vertexbuffer or program
206-
this.renderer.pipelines.set(this);
206+
this.renderer.pipelines.set(this, sprite);
207207

208208
var camMatrix = this._tempMatrix1;
209209
var spriteMatrix = this._tempMatrix2;

0 commit comments

Comments
 (0)