X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Ftext.cpp;h=a51d2cf16778a82bc3778c47203a618f39b5cc91;hp=cb7f998e9bb2a38d4102024fc4648e8461b38f0c;hb=HEAD;hpb=c0b7d6ee4a7478f5aecb1504429ec1fc846d64ed diff --git a/source/render/text.cpp b/source/render/text.cpp index cb7f998e..a51d2cf1 100644 --- a/source/render/text.cpp +++ b/source/render/text.cpp @@ -13,10 +13,7 @@ namespace GL { Text::Text(const Font &f, const Technique *tech, Tag tex_slot): ObjectInstance(object), font(f), - mesh((TEXCOORD2, VERTEX2)), - horz_align(0.0f), - vert_offset(0.0f), - width(0.0f) + mesh((TEXCOORD2, VERTEX2)) { object.set_mesh(&mesh); if(tech)