Fixed warning in DisplaySettings.cpp

This commit is contained in:
Robert Osfield
2002-03-23 21:30:32 +00:00
parent f50c5f7a5e
commit b7022b7e23

View File

@@ -149,7 +149,7 @@ void DisplaySettings::readEnvironmentalVariables()
if( (ptr = getenv("OSG_MAX_NUMBER_OF_GRAPHICS_CONTEXTS")) != 0)
{
_maxNumOfGraphicsContexts = atof(ptr);
_maxNumOfGraphicsContexts = atoi(ptr);
}
}