From ad1701d0ed690fa679e1b0165ad48137a179371f Mon Sep 17 00:00:00 2001 From: Felipe Alfonso Date: Fri, 12 Jan 2018 21:20:41 -0300 Subject: [PATCH] Changed Image gl pipeline --- src/gameobjects/image/ImageWebGLRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/image/ImageWebGLRenderer.js b/src/gameobjects/image/ImageWebGLRenderer.js index ae207948e..9c4b510b3 100644 --- a/src/gameobjects/image/ImageWebGLRenderer.js +++ b/src/gameobjects/image/ImageWebGLRenderer.js @@ -7,7 +7,7 @@ var ImageWebGLRenderer = function (renderer, src, interpolationPercentage, camer return; } - renderer.spriteBatch.addSprite(src, camera); + renderer.spriteBatch.drawSprite(src, camera); }; module.exports = ImageWebGLRenderer;