Fix update textures in handleContextRestored
* you try to iterate on PIXI.TextureCache as Array but it's Object;
* PIXI.WebGLRenderer.updateTexture deals with base texture, so we need to get such a field;
* need to texture._glTexture = null, because PIXI.WebGLRenderer.updateTexture only deal with texture without _glTexture;
* and also run as static method PIXI.WebGLRenderer.updateTexture(...);
1 parent ca17505 commit 6787acf7b133a9244b6360958c1efb0fd1ba8edd
@Eugene Krevenets Eugene Krevenets authored on 9 Jun 2013
Showing 1 changed file
View
src/pixi/renderers/WebGLRenderer.js