X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftext.cpp;h=f791c3b269632e1ed2113554d8095f55182102c2;hb=00cc52f21b5ae29fb1b25c162552c851a0559e66;hp=cb39a695dcb6095d931cf68564c52115ad03e445;hpb=437609f708f2918067ec64f6d02261d113b1cac0;p=libs%2Fgl.git diff --git a/source/text.cpp b/source/text.cpp index cb39a695..f791c3b2 100644 --- a/source/text.cpp +++ b/source/text.cpp @@ -34,7 +34,7 @@ void Text::set_text(const string &text, StringCodec::Decoder &dec) { clear(); width = font.get_string_width(text, dec); - GL::MeshBuilder bld(mesh); + MeshBuilder bld(mesh); bld.matrix() *= Matrix::translation(Vector3(-horz_align*width, vert_offset, 0.0f)); font.build_string(text, dec, bld); }