summaryrefslogtreecommitdiff
path: root/progs/tests/stencilwrap.c
diff options
context:
space:
mode:
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 2e219fd8b5..d396fc2a53 100644
--- a/progs/tests/stencilwrap.c
+++ b/progs/tests/stencilwrap.c
@@ -257,7 +257,7 @@ static void Init( void )
* part of GL 1.4.
*/
- ver_str = glGetString( GL_VERSION );
+ ver_str = (char *) glGetString( GL_VERSION );
version = (ver_str == NULL) ? 1.0 : atof( ver_str );
wrapping = (glutExtensionSupported("GL_EXT_stencil_wrap") || (version >= 1.4));