bind the Glyph texture when rendering the Glyph
This commit is contained in:
parent
c147cbad3f
commit
54b7e302d0
@ -13,6 +13,7 @@ public:
|
||||
void render()
|
||||
{
|
||||
m_array->bind();
|
||||
m_texture->bind(GL_TEXTURE_2D);
|
||||
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user