Skip to content

Commit 0bca9fc

Browse files
committed
Fix font renderer exploding in GL renderer
1 parent f6132de commit 0bca9fc

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ class GLRendererImpl(private val nsvg: NanoSvgApi, private val stb: StbApi) : Re
428428
org.lwjgl.opengl.GL30.glBindVertexArray(vao)
429429
} else prevVao = 0
430430
glUseProgram(program)
431+
glActiveTexture(GL_TEXTURE0)
431432
glBindTexture(GL_TEXTURE_2D, curTex)
432433

433434
// Quad attrib

0 commit comments

Comments
 (0)