rename Font::draw() to Font::render()

This commit is contained in:
Josh Holtrop 2014-06-23 16:23:23 -04:00
parent 5558eec534
commit d7f7dbdc28

View File

@ -21,7 +21,7 @@ namespace jes
int get_top() { return m_top; } int get_top() { return m_top; }
int get_left() { return m_left; } int get_left() { return m_left; }
int get_advance() { return m_advance; } int get_advance() { return m_advance; }
void draw() void render()
{ {
glBindTexture(GL_TEXTURE_2D, m_texture_id); glBindTexture(GL_TEXTURE_2D, m_texture_id);
glEnableVertexAttribArray(0); glEnableVertexAttribArray(0);