diff --git a/include/osg/State b/include/osg/State index f5992dd7a..549098677 100644 --- a/include/osg/State +++ b/include/osg/State @@ -1592,7 +1592,8 @@ class OSG_EXPORT State : public Referenced { typedef std::vector DefineVec; - DefineStack() {} + DefineStack(): + changed(false) {} void print(std::ostream& fout) const;