]> git.tdb.fi Git - libs/gl.git/blobdiff - source/font.cpp
Minor fixes, courtesy of Apple's compiler
[libs/gl.git] / source / font.cpp
index 069ecf0fa40db27feeaca1e592204fd1a3934408..1639f4a3726bbe853a8b324c65c3d3296f82626b 100644 (file)
@@ -182,12 +182,12 @@ Font::Glyph::Loader::Loader(Glyph &g):
        add("advance",   &Glyph::advance);
 }
 
-void Font::Glyph::Loader::texcoords(float x1, float y1, float x2, float y2)
+void Font::Glyph::Loader::texcoords(float x1_, float y1_, float x2_, float y2_)
 {
-       obj.x1 = x1;
-       obj.y1 = y1;
-       obj.x2 = x2;
-       obj.y2 = y2;
+       obj.x1 = x1_;
+       obj.y1 = y1_;
+       obj.x2 = x2_;
+       obj.y2 = y2_;
 }
 
 } // namespace GL