Skip to content

Commit a6eee5c

Browse files
committed
Fix crash in legacy versions
1 parent 32c724f commit a6eee5c

File tree

1 file changed

+1
-1
lines changed
  • modules/ui/src/main/kotlin/org/polyfrost/oneconfig/api/ui/v1/internal

1 file changed

+1
-1
lines changed

modules/ui/src/main/kotlin/org/polyfrost/oneconfig/api/ui/v1/internal/GLRendererImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ class GLRendererImpl(private val nsvg: NanoSvgApi, private val stb: StbApi) : Re
418418
glBindBuffer(GL_ARRAY_BUFFER, quadVbo)
419419
glEnableVertexAttribArray(aLocal)
420420
glVertexAttribPointer(aLocal, 2, GL_FLOAT, false, 0, 0L)
421-
org.lwjgl.opengl.GL30C.glBindVertexArray(0)
421+
org.lwjgl.opengl.GL30.glBindVertexArray(0)
422422
}
423423

424424
val prevTex = glGetInteger(GL_TEXTURE_BINDING_2D)

0 commit comments

Comments
 (0)