]> 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 dc027f1f6a79ccc7a400aa5311e1081e056729da..11641fa15be3a0b78de657af3669f0f399c12208 100644 (file)
@@ -15,7 +15,6 @@ public:
                static ActionMap shared_actions;
 
        public:
-               Loader(UnlitMaterial &);
                Loader(UnlitMaterial &, Collection &);
 
        private:
@@ -25,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[];