diff --git a/src/osgUtil/RenderStageLighting.cpp b/src/osgUtil/RenderStageLighting.cpp index 7f687f4db..9261a8dd0 100644 --- a/src/osgUtil/RenderStageLighting.cpp +++ b/src/osgUtil/RenderStageLighting.cpp @@ -29,6 +29,7 @@ RenderStageLighting::~RenderStageLighting() void RenderStageLighting::reset() { _attrList.clear(); + _texAttrListMap.clear(); } void RenderStageLighting::draw(osg::State& state,RenderLeaf*& previous)