mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +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++) {
|
for (unsigned int i = 0; i < text.size(); i++) {
|
||||||
int g = (int)text[i];
|
int g = (int)text[i];
|
||||||
if (!glyphs[g]) g = 32; // space
|
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;
|
s += spacing[g] * mSpacing;
|
||||||
}
|
}
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|||||||
Reference in New Issue
Block a user