bind the Glyph texture when rendering the Glyph

This commit is contained in:
josh committed 2016-07-08 21:04:49 -04:00
1 parent c147cbad3f
commit 54b7e302d0
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@ public:
void render() void render()
{ {
m_array->bind(); m_array->bind();
m_texture->bind(GL_TEXTURE_2D);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
} }