]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/object.h
Use default member initializers for simple types
[libs/gl.git] / source / render / object.h
index 80a73cba61e2caf6ac53281af7bb7ded14c303e8..b6bd3a69d9b5c00ff74a14233963a11787eb70fb 100644 (file)
@@ -67,7 +67,7 @@ private:
 
        std::vector<LevelOfDetail> lods;
        Geometry::BoundingSphere<float, 3> bounding_sphere;
-       bool lod0_watched;
+       bool lod0_watched = false;
 
        static const Matrix identity_matrix;