Mesa (master): prog/tests: Fix MSVC build.
Brian Paul
brianp at kemper.freedesktop.org
Tue Oct 13 00:05:44 UTC 2009
Module: Mesa
Branch: master
Commit: 96fd13c1a024e3b6c0b1c44394c67c772e52b9c9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96fd13c1a024e3b6c0b1c44394c67c772e52b9c9
Author: Vinson Lee <vlee at vmware.com>
Date: Mon Oct 12 18:05:05 2009 -0600
prog/tests: Fix MSVC build.
---
progs/tests/crossbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/progs/tests/crossbar.c b/progs/tests/crossbar.c
index 3dd2137..bd8e05a 100644
--- a/progs/tests/crossbar.c
+++ b/progs/tests/crossbar.c
@@ -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 ];
More information about the mesa-commit
mailing list