Browse Source

heh whoops accidentally reverted to lower-left origin, fixed

Bill Meltsner 15 years ago
parent
commit
b94cb9ca62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/Font.cpp

+ 1 - 1
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();