diff --git a/src/gui/Font.h b/src/gui/Font.h index c0e9c81..2483aeb 100644 --- a/src/gui/Font.h +++ b/src/gui/Font.h @@ -23,8 +23,8 @@ namespace jes { glBindTexture(GL_TEXTURE_2D, m_texture_id); glEnableVertexAttribArray(0); - glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 0, 0); glBindBuffer(GL_ARRAY_BUFFER, m_vbo_id); + glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 0, 0); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } protected: