Introduced streamlined text rendering dispatch code.

This commit is contained in:
Robert Osfield
2017-03-17 12:50:15 +00:00
parent 2cefcc8bfc
commit feb0214ddc
4 changed files with 177 additions and 1 deletions

View File

@@ -563,7 +563,7 @@ void Text3D::drawImplementation(osg::RenderInfo& renderInfo) const
}
}
if (!usingVertexArrayObjects)
if (usingVertexBufferObjects && !usingVertexArrayObjects)
{
// unbind the VBO's if any are used.
vas->unbindVertexBufferObject();