summaryrefslogtreecommitdiffstats
path: root/progs/tests/stencilwrap.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-04-23 14:14:04 +0000
committerBrian Paul <[email protected]>2004-04-23 14:14:04 +0000
commit384800fe12e368f3489111de4572dbc8846a7dea (patch)
tree133f41cce9be28939cba5541cc4447d62ac792b4 /progs/tests/stencilwrap.c
parent180e28e6d49ea0c4cdfbf7b80c4ce26c67574d9a (diff)
assorted fixes
Diffstat (limited to 'progs/tests/stencilwrap.c')
-rw-r--r--progs/tests/stencilwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/stencilwrap.c b/progs/tests/stencilwrap.c
index f7d3ecd38da..8e4475316de 100644
--- a/progs/tests/stencilwrap.c
+++ b/progs/tests/stencilwrap.c
@@ -164,7 +164,7 @@ static void Init( void )
*/
ver_str = glGetString( GL_VERSION );
- version = (ver_str == NULL) ? 1.0 : strtof( ver_str, NULL );
+ version = (ver_str == NULL) ? 1.0 : atof( ver_str );
if ( !glutExtensionSupported("GL_EXT_stencil_wrap")
&& (version < 1.4) ) {