Changed Image gl pipeline

This commit is contained in:
Felipe Alfonso 2018-01-12 21:20:41 -03:00
parent 79805ac04f
commit ad1701d0ed

View file

@ -7,7 +7,7 @@ var ImageWebGLRenderer = function (renderer, src, interpolationPercentage, camer
return; return;
} }
renderer.spriteBatch.addSprite(src, camera); renderer.spriteBatch.drawSprite(src, camera);
}; };
module.exports = ImageWebGLRenderer; module.exports = ImageWebGLRenderer;