|
@@ -216,9 +216,9 @@ Font::Glyph *Font::addGlyph(uint32 glyph)
|
|
|
|
|
|
const GlyphVertex verts[4] = {
|
|
|
{ 0.0f, 0.0f, float(textureX)/float(textureWidth), float(textureY)/float(textureHeight)},
|
|
|
- {float(w), 0.0f, float(textureX+w)/float(textureWidth), float(textureY)/float(textureHeight)},
|
|
|
- {float(w), float(h), float(textureX+w)/float(textureWidth), float(textureY+h)/float(textureHeight)},
|
|
|
{ 0.0f, float(h), float(textureX)/float(textureWidth), float(textureY+h)/float(textureHeight)},
|
|
|
+ {float(w), float(h), float(textureX+w)/float(textureWidth), float(textureY+h)/float(textureHeight)},
|
|
|
+ {float(w), 0.0f, float(textureX+w)/float(textureWidth), float(textureY)/float(textureHeight)},
|
|
|
};
|
|
|
|
|
|
// copy vertex data to the glyph and set proper bearing
|