Added check against State::useVertexBufferObjects(..) so that Display Lists are only used when VBO is OFF.

This commit is contained in:
Robert Osfield
2016-08-15 18:17:35 +01:00
parent 961bffcca4
commit 359b136b5e
4 changed files with 7 additions and 5 deletions

View File

@@ -785,7 +785,7 @@ void Geometry::compileGLObjects(RenderInfo& renderInfo) const
void Geometry::drawImplementation(RenderInfo& renderInfo) const
{
// OSG_NOTICE<<" Geometry::drawImplementation()"<<std::endl;
// OSG_NOTICE<<"Geometry::drawImplementation() "<<this<<std::endl;
if (_containsDeprecatedData)
{