diff --git a/internal/graphicsdriver/opengl/gl/default_js.go b/internal/graphicsdriver/opengl/gl/default_js.go index 13b92e899..b27f7157a 100644 --- a/internal/graphicsdriver/opengl/gl/default_js.go +++ b/internal/graphicsdriver/opengl/gl/default_js.go @@ -367,7 +367,7 @@ func (c *defaultContext) DeleteTexture(texture uint32) { func (c *defaultContext) DeleteVertexArray(array uint32) { c.fnDeleteVertexArray.Invoke(c.vertexArrays.get(array)) - c.textures.delete(array) + c.vertexArrays.delete(array) } func (c *defaultContext) Disable(cap uint32) {