Introduced streamlined text rendering dispatch code.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user