diff options
Diffstat (limited to 'progs/tests/stencilwrap.c')
-rw-r--r-- | progs/tests/stencilwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/stencilwrap.c b/progs/tests/stencilwrap.c index f7d3ecd38d..8e4475316d 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) ) { |