mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Reset all textures on rebind, which is what Externs need when finishing
This commit is contained in:
parent
e77639561b
commit
75da5b2f22
1 changed files with 4 additions and 2 deletions
|
@ -1216,8 +1216,10 @@ var WebGLRenderer = new Class({
|
|||
|
||||
this.setBlendMode(0, true);
|
||||
|
||||
gl.activeTexture(gl.TEXTURE1);
|
||||
gl.bindTexture(gl.TEXTURE_2D, this.blankTexture.glTexture);
|
||||
this.resetTextures(true);
|
||||
|
||||
// gl.activeTexture(gl.TEXTURE1);
|
||||
// gl.bindTexture(gl.TEXTURE_2D, this.blankTexture.glTexture);
|
||||
|
||||
this.currentActiveTexture = 1;
|
||||
this.startActiveTexture++;
|
||||
|
|
Loading…
Reference in a new issue