Stop leaking again
This commit is contained in:
parent
cbd97605a5
commit
68bea3e6fc
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export class FragmentShaderOnlyProgram extends Program {
|
||||||
if (this.gl.isWebGL2) {
|
if (this.gl.isWebGL2) {
|
||||||
this.gl.bindVertexArray(this.vao!);
|
this.gl.bindVertexArray(this.vao!);
|
||||||
} else {
|
} else {
|
||||||
this.vertexArrayExtension.createVertexArrayOES();
|
this.vertexArrayExtension.bindVertexArrayOES(this.vao!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue