Updates to the GLUT and Producer text demo.
Fix to text to better handle unsetting of vertex arrays.
This commit is contained in:
@@ -434,6 +434,8 @@ void Text::drawImplementation(osg::State& state) const
|
||||
{
|
||||
|
||||
bool first = false;
|
||||
|
||||
state.disableAllVertexArrays();
|
||||
|
||||
for(TextureGlyphQuadMap::const_iterator titr=_textureGlyphQuadMap.begin();
|
||||
titr!=_textureGlyphQuadMap.end();
|
||||
|
||||
Reference in New Issue
Block a user