Added check against State::useVertexBufferObjects(..) so that Display Lists are only used when VBO is OFF.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user