Moved the ArrayDispatchers management so that osg::State now has a ArrayDispatchers object that any osg::Geometry can reuse,
and optimized the implementation to reduce the CPU overhead.
This commit is contained in:
@@ -120,6 +120,7 @@ State::State():
|
||||
_maxBufferObjectPoolSize = 0;
|
||||
|
||||
_glBeginEndAdapter.setState(this);
|
||||
_arrayDispatchers.setState(this);
|
||||
}
|
||||
|
||||
State::~State()
|
||||
|
||||
Reference in New Issue
Block a user