Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it
encapsulates. Added new osg::IndexGeometry implemention, *not* complete yet. Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet.
This commit is contained in:
@@ -181,6 +181,10 @@ void Text::drawImmediateMode(State& state)
|
||||
|
||||
if(!_initAlignment)
|
||||
initAlignment();
|
||||
|
||||
// we must disable all the vertex arrays to prevent any state
|
||||
// propagating into text.
|
||||
state.disableAllVertexArrays();
|
||||
|
||||
// draw boundingBox
|
||||
if(_drawMode & BOUNDINGBOX)
|
||||
|
||||
Reference in New Issue
Block a user