Use MultiPipeline

This commit is contained in:
Richard Davey 2020-08-25 13:27:57 +01:00
parent 0f1c917d6c
commit 4e28e4417e

View file

@ -43,10 +43,10 @@ var SpineGameObjectWebGLRenderer = function (renderer, src, interpolationPercent
{
// The next object in the display list is not a Spine object, so we end the batch
sceneRenderer.end();
renderer.rebindPipeline(renderer.pipelines.TextureTintPipeline);
renderer.rebindPipeline(renderer.pipelines.MultiPipeline);
}
return;
}
@ -155,7 +155,7 @@ var SpineGameObjectWebGLRenderer = function (renderer, src, interpolationPercent
// The next object in the display list is not a Spine object, so we end the batch
sceneRenderer.end();
renderer.rebindPipeline(renderer.pipelines.TextureTintPipeline);
renderer.rebindPipeline(renderer.pipelines.MultiPipeline);
}
};