mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Fix pipeline reference
This commit is contained in:
parent
47cd394ac5
commit
91df0a4cb9
1 changed files with 2 additions and 2 deletions
|
@ -47,12 +47,12 @@ var GraphicsWebGLRenderer = function (renderer, src, interpolationPercentage, ca
|
|||
return;
|
||||
}
|
||||
|
||||
var pipeline = this.pipeline;
|
||||
var pipeline = renderer.currentPipeline;
|
||||
|
||||
var camMatrix = pipeline._tempMatrix1;
|
||||
var graphicsMatrix = pipeline._tempMatrix2;
|
||||
var currentMatrix = pipeline._tempMatrix4;
|
||||
|
||||
|
||||
renderer.setPipeline(pipeline);
|
||||
|
||||
currentMatrix.loadIdentity();
|
||||
|
|
Loading…
Reference in a new issue