Warning fix
This commit is contained in:
parent
ac812539d8
commit
57ed6ebb79
@ -659,7 +659,7 @@ unsigned int Geometry::getPrimitiveSetIndex(const PrimitiveSet* primitiveset) co
|
||||
|
||||
bool Geometry::computeFastPathsUsed()
|
||||
{
|
||||
static bool s_DisableFastPathInDisplayLists = getenv("OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS");
|
||||
static bool s_DisableFastPathInDisplayLists = getenv("OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS")!=0;
|
||||
if (_useDisplayList && s_DisableFastPathInDisplayLists)
|
||||
{
|
||||
osg::notify(osg::DEBUG_INFO)<<"Geometry::computeFastPathsUsed() - Disabling fast paths in display lists"<<std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user