bind the Glyph texture when rendering the Glyph

This commit is contained in:
Josh Holtrop 2016-07-08 21:04:49 -04:00
parent c147cbad3f
commit 54b7e302d0

View File

@ -13,6 +13,7 @@ public:
void render()
{
m_array->bind();
m_texture->bind(GL_TEXTURE_2D);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
}