lroundf -> lrintf.

This commit is contained in:
Steve Checkoway
2007-01-03 05:05:28 +00:00
parent 92e5ea3a9f
commit 4517499f0f
18 changed files with 33 additions and 38 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ void GLExt_t::Load( LowLevelWindow *pWind )
else
{
const float fVersion = StringToFloat( pzVersion );
m_iShadingLanguageVersion = lroundf( fVersion * 100 );
m_iShadingLanguageVersion = lrintf( fVersion * 100 );
/* The version string may contain extra information beyond the version number. */
LOG->Info( "OpenGL shading language: %s", pzVersion );
}