strtof -> StringToFloat.

This commit is contained in:
Steve Checkoway
2006-06-12 06:42:25 +00:00
parent b61e1638dc
commit d2f3a14495
12 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ void GLExt_t::Load( LowLevelWindow *pWind )
}
else
{
const float fVersion = strtof( pzVersion, NULL );
const float fVersion = StringToFloat( pzVersion );
m_iShadingLanguageVersion = int(roundf(fVersion * 100));
/* The version string may contain extra information beyond the version number. */
LOG->Info( "OpenGL shading language: %s", pzVersion );