mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +00:00
Fix texture uniform setting in Shader.
This call was crashing with the more explicit location wrappers, as the location hadn't actually been created yet. The call isn't necessary, as uniforms are set before rendering.
This commit is contained in:
parent
b9deef7e61
commit
9b8bb39e7c
1 changed files with 0 additions and 2 deletions
|
@ -959,8 +959,6 @@ var Shader = new Class({
|
|||
|
||||
this.renderer.setProgram(this.program);
|
||||
|
||||
gl.uniform1i(uniform.uniformLocation.webGLUniformLocation, this._textureCount);
|
||||
|
||||
this._textureCount++;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue