heh whoops accidentally reverted to lower-left origin, fixed

This commit is contained in:
Bill Meltsner
2010-04-17 15:34:08 -04:00
parent 74c07e4959
commit b94cb9ca62
+1 -1
View File
@@ -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();