OS X: switched to -std=c++11, fixed compilation, cleaned up obsolete files in src/platform/macosx/

This commit is contained in:
Alex Szpakowski
2013-09-29 02:50:37 -03:00
parent fc5d5e3f26
commit 5f609c2e2b
6 changed files with 8 additions and 47 deletions
+4 -4
View File
@@ -216,10 +216,10 @@ Font::Glyph *Font::addGlyph(uint32 glyph)
g->texture = t;
const GlyphVertex verts[4] = {
{0, 0, float(textureX)/float(textureWidth), float(textureY)/float(textureHeight)},
{w, 0, float(textureX+w)/float(textureWidth), float(textureY)/float(textureHeight)},
{w, h, float(textureX+w)/float(textureWidth), float(textureY+h)/float(textureHeight)},
{0, h, float(textureX)/float(textureWidth), float(textureY+h)/float(textureHeight)},
{ 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)},
};
// copy vertex data to the glyph and set proper bearing