Show
Ignore:
Timestamp:
03/11/10 17:46:01 (4 years ago)
Author:
robert
Message:

Clean up of initialization of statics/use of getenv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/Geometry.cpp

    r10874 r11202  
    536536bool Geometry::computeFastPathsUsed() 
    537537{ 
    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  
    546538    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
    547539    //