From b94cb9ca6246067b82a5b9078879f94cb944cae4 Mon Sep 17 00:00:00 2001 From: Bill Meltsner Date: Sat, 17 Apr 2010 15:34:08 -0400 Subject: [PATCH] heh whoops accidentally reverted to lower-left origin, fixed --- src/modules/graphics/opengl/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/Font.cpp b/src/modules/graphics/opengl/Font.cpp index ec5dd264e..08d8e98ba 100644 --- a/src/modules/graphics/opengl/Font.cpp +++ b/src/modules/graphics/opengl/Font.cpp @@ -72,7 +72,7 @@ namespace opengl for (unsigned int i = 0; i < text.size(); i++) { int g = (int)text[i]; if (!glyphs[g]) g = 32; // space - glyphs[g]->draw(bearingX[g] + s, -bearingY[g], 0, 1, 1, 0, 0); + glyphs[g]->draw(bearingX[g] + s, -bearingY[g]+height, 0, 1, 1, 0, 0); s += spacing[g] * mSpacing; } glPopMatrix();