diff --git a/src/osg/ArrayDispatchers.cpp b/src/osg/ArrayDispatchers.cpp index 18a2de75d..aef3b64a0 100644 --- a/src/osg/ArrayDispatchers.cpp +++ b/src/osg/ArrayDispatchers.cpp @@ -378,6 +378,7 @@ ArrayDispatchers::ArrayDispatchers(): _colorDispatchers(0), _secondaryColorDispatchers(0), _fogCoordDispatchers(0), + _useVertexAttribAlias(false), _useGLBeginEndAdapter(false) { @@ -574,6 +575,7 @@ void ArrayDispatchers::reset() { if (!_initialized) init(); + _useVertexAttribAlias = false; _useGLBeginEndAdapter = false; for(ActiveDispatchList::iterator itr = _activeDispatchList.begin();