Stop leaking again

This commit is contained in:
Andras Schmelczer 2026-06-10 21:41:20 +01:00
parent cbd97605a5
commit 68bea3e6fc

View file

@ -28,7 +28,7 @@ export class FragmentShaderOnlyProgram extends Program {
if (this.gl.isWebGL2) {
this.gl.bindVertexArray(this.vao!);
} else {
this.vertexArrayExtension.createVertexArrayOES();
this.vertexArrayExtension.bindVertexArrayOES(this.vao!);
}
}