]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/unlitmaterial.h
Use default member initializers for simple types
[libs/gl.git] / source / materials / unlitmaterial.h
index 4481d5f988f446d446c048303666803c0af44e46..11641fa15be3a0b78de657af3669f0f399c12208 100644 (file)
@@ -24,9 +24,9 @@ public:
        };
 
 private:
-       const Texture *texture;
+       const Texture *texture = 0;
        Color color;
-       bool vertex_color;
+       bool vertex_color = false;
 
        static const Tag texture_tags[];