X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Ftext.h;h=c007c81f8aeaee0c9813dbf66915ccdd12814400;hp=0b4fa92c4ac5fe0197dbc917f19bb6453eded733;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/render/text.h b/source/render/text.h index 0b4fa92c..c007c81f 100644 --- a/source/render/text.h +++ b/source/render/text.h @@ -37,9 +37,9 @@ private: Mesh mesh; Object object; Tag texture_slot; - float horz_align; - float vert_offset; - float width; + float horz_align = 0.0f; + float vert_offset = 0.0f; + float width = 0.0f; public: Text(const Font &, const Technique * = 0, Tag = Tag());