summaryrefslogtreecommitdiffstats
path: root/progs/tests
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-10-12 18:05:05 -0600
committerVinson Lee <[email protected]>2009-12-03 15:15:12 -0800
commit89e747920f35f28d651ad89380f58250aab7c2d4 (patch)
tree78ea22b2766e38bcf1d5e65210d4b42f1a952d41 /progs/tests
parent5a25adb646faa970dacec0dbfa2e2bd905e87eba (diff)
prog/tests: Fix MSVC build.
(cherry picked from commit 96fd13c1a024e3b6c0b1c44394c67c772e52b9c9)
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/crossbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/crossbar.c b/progs/tests/crossbar.c
index 3dd21372f9a..bd8e05aee13 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 ];