Fix pipeline reference

This commit is contained in:
Richard Davey 2019-01-28 16:40:24 +00:00
parent 47cd394ac5
commit 91df0a4cb9

View file

@ -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();