prog/tests: Fix MSVC build.

(cherry picked from commit 96fd13c1a0)
This commit is contained in:
Vinson Lee 2009-10-12 18:05:05 -06:00
parent 5a25adb646
commit 89e747920f

View file

@ -145,7 +145,7 @@ static void Init( void )
{
const char * const ver_string = (const char * const)
glGetString( GL_VERSION );
float ver = strtof( ver_string, NULL );
float ver = strtod( ver_string, NULL );
GLint tex_units;
GLint temp[ 256 ];