From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overallNormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned.
This commit is contained in:
@@ -578,7 +578,9 @@ void ArrayDispatchers::reset()
|
||||
if (!_initialized) init();
|
||||
|
||||
_useVertexAttribAlias = false;
|
||||
_useGLBeginEndAdapter = false;
|
||||
|
||||
_useGLBeginEndAdapter = false;
|
||||
_glBeginEndAdapter->reset();
|
||||
|
||||
for(ActiveDispatchList::iterator itr = _activeDispatchList.begin();
|
||||
itr != _activeDispatchList.end();
|
||||
|
||||
Reference in New Issue
Block a user