summaryrefslogtreecommitdiff
path: root/progs/tests
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-10-16 11:36:09 +0100
committerVinson Lee <vlee@vmware.com>2009-12-03 15:24:43 -0800
commit791b7546876e72dcbcc012a855df7f610d777297 (patch)
treeac5ed12a3853f9714bf28fd108218ef24c6e3241 /progs/tests
parent89e747920f35f28d651ad89380f58250aab7c2d4 (diff)
prog/tests: Fix MSVC build.
(cherry picked from commit 60b6c7458319ff01ecdd9d1650d526ac8f75e194)
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/invert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/invert.c b/progs/tests/invert.c
index 63099fbd22..3bc97a460b 100644
--- a/progs/tests/invert.c
+++ b/progs/tests/invert.c
@@ -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));