From 6f6e2374295613ee3568e3ab43555ddfbe1a4322 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 30 Sep 2002 18:11:34 +0000 Subject: [PATCH] Added setActiveTextureUnit(0) to State::reset(). --- src/osg/State.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osg/State.cpp b/src/osg/State.cpp index d4838211d..b6a920df9 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -84,6 +84,7 @@ void State::reset() _projection = _identity; dirtyAllVertexArrays(); + setActiveTextureUnit(0); } void State::pushStateSet(const StateSet* dstate)