diff options
Diffstat (limited to 'src/render/text.cc')
-rw-r--r-- | src/render/text.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |