From 7a5b8cc4b9f7343db13491941088c95c96833c18 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Mon, 26 Nov 2012 07:33:32 +0000 Subject: More gl::-ization. --- src/render/text.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/render/text.cc') diff --git a/src/render/text.cc b/src/render/text.cc index c45357d..1c039ef 100644 --- a/src/render/text.cc +++ b/src/render/text.cc @@ -106,16 +106,16 @@ void Text::draw(const float x, const float y, const char ascii) gl::begin(gl::Quads); - glTexCoord2f(fcol, frow); + gl::texcoord(fcol, frow); gl::vertex(x, y, 0); - glTexCoord2f(fcol + 0.0625f, frow); + gl::texcoord(fcol + 0.0625f, frow); gl::vertex(x + text_fontwidth, y, 0); - glTexCoord2f(fcol + 0.0625f, frow + 0.0625f); + gl::texcoord(fcol + 0.0625f, frow + 0.0625f); gl::vertex(x + text_fontwidth, y + text_fontheight, 0); - glTexCoord2f(fcol, frow + 0.0625f); + gl::texcoord(fcol, frow + 0.0625f); gl::vertex(x, y + text_fontheight, 0); gl::end(); -- cgit v1.2.3