From: Mikko Rasa Date: Wed, 2 May 2018 22:06:44 +0000 (+0300) Subject: Add a missing initializer X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=679f0fd1f3504b5536f18943e188606887f3785c;p=libs%2Fgl.git Add a missing initializer --- 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)