mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
heh whoops accidentally reverted to lower-left origin, fixed
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user