We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d07723 commit 886ca7eCopy full SHA for 886ca7e
src/easeljs/display/StageGL.js
@@ -2816,10 +2816,8 @@ this.createjs = this.createjs||{};
2816
gl.uniformMatrix4fv(shaderProgram.pMatrixUniform, gl.FALSE, this._projectionMatrix);
2817
2818
for (var i = 0; i < this._batchTextureCount; i++) {
2819
- var texture = this._batchTextures[i];
2820
gl.activeTexture(gl.TEXTURE0 + i);
2821
- gl.bindTexture(gl.TEXTURE_2D, texture);
2822
- this.setTextureParams(gl, texture.isPOT);
+ gl.bindTexture(gl.TEXTURE_2D, this._batchTextures[i]);
2823
}
2824
2825
gl.drawArrays(gl.TRIANGLES, 0, this._batchVertexCount);
0 commit comments