X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Ftext.h;h=c007c81f8aeaee0c9813dbf66915ccdd12814400;hp=dda0a4f0e8fe2be4c0fa7d5365300e52ddcbcdf5;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=88e67cefcb759902c6bd344373be0b1cd0cf7f6b diff --git a/source/render/text.h b/source/render/text.h index dda0a4f0..c007c81f 100644 --- a/source/render/text.h +++ b/source/render/text.h @@ -5,7 +5,6 @@ #include "mesh.h" #include "object.h" #include "objectinstance.h" -#include "technique.h" namespace Msp { namespace GL { @@ -38,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());