From d7f7dbdc2896b4e7dcbe85d71ab4355d4a52b971 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 23 Jun 2014 16:23:23 -0400 Subject: [PATCH] rename Font::draw() to Font::render() --- src/gui/Font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Font.h b/src/gui/Font.h index e8a6b6a..bf37608 100644 --- a/src/gui/Font.h +++ b/src/gui/Font.h @@ -21,7 +21,7 @@ namespace jes int get_top() { return m_top; } int get_left() { return m_left; } int get_advance() { return m_advance; } - void draw() + void render() { glBindTexture(GL_TEXTURE_2D, m_texture_id); glEnableVertexAttribArray(0);