Updates to the GLUT and Producer text demo.

Fix to text to better handle unsetting of vertex arrays.
This commit is contained in:
Robert Osfield
2003-03-05 12:28:42 +00:00
parent 7cc69d4d66
commit 8e6a1d38e4
4 changed files with 627 additions and 348 deletions

View File

@@ -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();