]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/text.cpp
Use default member initializers for simple types
[libs/gl.git] / source / render / text.cpp
index cb7f998e9bb2a38d4102024fc4648e8461b38f0c..a51d2cf16778a82bc3778c47203a618f39b5cc91 100644 (file)
@@ -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)