UPD: Disable texture binding after textrendering

This commit is contained in:
sebastian 2026-02-15 08:50:34 +01:00
parent 4146ea5ea1
commit 5804ed15ee

View File

@ -73,6 +73,8 @@ void TextRenderer::renderText(const UiText &textToRender) {
glBindVertexArray(0); glBindVertexArray(0);
glDisableVertexAttribArray(0); glDisableVertexAttribArray(0);
} }
glBindTexture(GL_TEXTURE_2D, 0);
} }
void TextRenderer::renderGuiTexts(const std::vector<std::shared_ptr<GUIText>> &texts) { void TextRenderer::renderGuiTexts(const std::vector<std::shared_ptr<GUIText>> &texts) {