From 54b7e302d06d738e8ecbf23fad53084368adad78 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 8 Jul 2016 21:04:49 -0400 Subject: [PATCH] bind the Glyph texture when rendering the Glyph --- src/gui/Glyph.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/Glyph.h b/src/gui/Glyph.h index d86584b..05913a8 100644 --- a/src/gui/Glyph.h +++ b/src/gui/Glyph.h @@ -13,6 +13,7 @@ public: void render() { m_array->bind(); + m_texture->bind(GL_TEXTURE_2D); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); }