rename Font::draw() to Font::render()
This commit is contained in:
parent
5558eec534
commit
d7f7dbdc28
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user