From e4167d9baa3a2a7060e9f4b109f79bb4c26100f1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 3 Oct 2004 08:36:27 +0000 Subject: [PATCH] Added missing _texAttrListMap.clear(); into reset() --- src/osgUtil/RenderStageLighting.cpp | 1 + 1 file changed, 1 insertion(+) 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)