X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftext.cpp;h=dfb88e3fcc1e8553721eeaf100735cf616fe4f6f;hp=f791c3b269632e1ed2113554d8095f55182102c2;hb=aa9873652630db493b5bd9faee4117e9c30ef226;hpb=fa658c8500fb0c368a8299bd1210688640b50352 diff --git a/source/text.cpp b/source/text.cpp index f791c3b2..dfb88e3f 100644 --- a/source/text.cpp +++ b/source/text.cpp @@ -11,7 +11,8 @@ Text::Text(const Font &f, const Technique *tech): font(f), mesh((TEXCOORD2, VERTEX2)), horz_align(0.0f), - vert_offset(0.0f) + vert_offset(0.0f), + width(0.0f) { object.set_mesh(&mesh); if(tech)