prog/tests: Fix MSVC build.

(cherry picked from commit 60b6c74583)
This commit is contained in:
Vinson Lee 2009-10-16 11:36:09 +01:00
parent 89e747920f
commit 791b754687

View file

@ -128,7 +128,7 @@ static void Init( void )
{
const char * const ver_string = (const char * const)
glGetString( GL_VERSION );
const float ver = strtof( ver_string, NULL );
const float ver = strtod( ver_string, NULL );
printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER));