diff --git a/include/osg/State b/include/osg/State index afff8341f..b74fcbb5b 100644 --- a/include/osg/State +++ b/include/osg/State @@ -1328,12 +1328,12 @@ class OSG_EXPORT State : public Referenced inline void popModeList(ModeMap& modeMap,const StateSet::ModeList& modeList); inline void popAttributeList(AttributeMap& attributeMap,const StateSet::AttributeList& attributeList); inline void popUniformList(UniformMap& uniformMap,const StateSet::UniformList& uniformList); - inline void popDefineList(DefineMap& uniformMap,const StateSet::DefineList& defineList); + inline void popDefineList(DefineMap& defineMap,const StateSet::DefineList& defineList); inline void applyModeList(ModeMap& modeMap,const StateSet::ModeList& modeList); inline void applyAttributeList(AttributeMap& attributeMap,const StateSet::AttributeList& attributeList); inline void applyUniformList(UniformMap& uniformMap,const StateSet::UniformList& uniformList); - inline void applyDefineList(DefineMap& uniformMap,const StateSet::DefineList& defineList); + inline void applyDefineList(DefineMap& defineMap,const StateSet::DefineList& defineList); inline void applyModeMap(ModeMap& modeMap); inline void applyAttributeMap(AttributeMap& attributeMap);