diff options
author | Vinson Lee <[email protected]> | 2009-12-20 01:01:00 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-20 01:01:00 -0800 |
commit | 0dd951387405fc67b93c675d6a462ce020504719 (patch) | |
tree | 315f442f6e326135837415085b7aab001b901c63 /progs/tests/stencilwrap.c | |
parent | d87d71036cf546488981d3bd174fde967533bad2 (diff) |
progs/tests: Silence compiler warnings.
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 2e219fd8b50..d396fc2a533 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)); |