Tidied up and optimised Sprite._renderCanvas. Removed lots of temporary vars that weren't needed (texture, crop, frame, transform, child), reduced all the drawImage calls down to just one. Removed redundant baseTexture.hasLoaded check.
1 parent 58ec6f9 commit bbd3735f5b1e7346d588d45bd9046236df7fffa3
@photonstorm photonstorm authored on 10 Jul 2014
Showing 1 changed file
View
src/pixi/display/Sprite.js