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
+2 -2
View File
@@ -574,10 +574,10 @@ static void CheckReversePackedPixels()
void SetupExtensions()
{
const float fGLVersion = strtof( (const char *) glGetString(GL_VERSION), NULL );
const float fGLVersion = StringToFloat( (const char *) glGetString(GL_VERSION) );
g_glVersion = int(roundf(fGLVersion * 10));
const float fGLUVersion = strtof( (const char *) gluGetString(GLU_VERSION), NULL );
const float fGLUVersion = StringToFloat( (const char *) gluGetString(GLU_VERSION) );
g_gluVersion = int(roundf(fGLUVersion * 10));
GLExt.Load( g_pWind );