X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ffont.cpp;h=1639f4a3726bbe853a8b324c65c3d3296f82626b;hb=ae9abd6be3e556d0a202cc5ab05668da715382c9;hp=069ecf0fa40db27feeaca1e592204fd1a3934408;hpb=c0f0ea613b79a61bf83ef46a5fac6b22cbb242b7;p=libs%2Fgl.git diff --git a/source/font.cpp b/source/font.cpp index 069ecf0f..1639f4a3 100644 --- a/source/font.cpp +++ b/source/font.cpp @@ -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