refactor after #2160
This commit is contained in:
@@ -213,7 +213,7 @@ class WebGL2Tier {
|
||||
gl.useProgram(this.program);
|
||||
gl.bindTexture(gl.TEXTURE_2D, this.texture);
|
||||
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, frame);
|
||||
gl.drawArrays(gl.TRIANGLES, 0, 3);
|
||||
gl.drawArrays(gl.TRIANGLES, 0, 6);
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
||||
Reference in New Issue
Block a user