from Paul Matz, "Understood. Well, I think it's reasonable to assume that the non-env var

case is the more tested case, and therefore it is correct to set
_supportsVertexBufferObjects to the same value as _fastPath. So here's a
change that does the same thing for the env var case."
This commit is contained in:
Robert Osfield
2007-12-08 17:00:38 +00:00
parent f2d59416aa
commit 2d4ef642e6

View File

@@ -891,7 +891,7 @@ bool Geometry::computeFastPathsUsed()
if (_useDisplayList && s_DisableFastPathInDisplayLists)
{
osg::notify(osg::DEBUG_INFO)<<"Geometry::computeFastPathsUsed() - Disabling fast paths in display lists"<<std::endl;
_fastPath = false;
_supportsVertexBufferObjects = _fastPath = false;
return _fastPath;
}