Fixed render texture issue where textures not getting uploaded to GPU before render

This commit is contained in:
Mat Groves 2014-01-23 23:40:03 +00:00
parent 08945de8d6
commit 3bbeb2d2f8
3 changed files with 6 additions and 2 deletions

View file

@ -11105,6 +11105,8 @@ PIXI.RenderTexture.prototype.renderWebGL = function(displayObject, position, cle
children[i].updateTransform();
}
// update the textures!
PIXI.WebGLRenderer.updateTextures();
//
this.renderer.renderDisplayObject(displayObject, this.projection, this.textureBuffer.frameBuffer);