Changeset 11202 for OpenSceneGraph/trunk/src/osg/Geometry.cpp
- Timestamp:
- 03/11/10 17:46:01 (3 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/Geometry.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/Geometry.cpp
r10874 r11202 536 536 bool Geometry::computeFastPathsUsed() 537 537 { 538 static bool s_DisableFastPathInDisplayLists = getenv("OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS")!=0;539 if (_useDisplayList && s_DisableFastPathInDisplayLists)540 {541 osg::notify(osg::DEBUG_INFO)<<"Geometry::computeFastPathsUsed() - Disabling fast paths in display lists"<<std::endl;542 _supportsVertexBufferObjects = _fastPath = false;543 return _fastPath;544 }545 546 538 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 547 539 //
