seccolor.c \
sharedtex.c \
stencilwrap.c \
- swaplock.c \
tex1d.c \
texline.c \
texrect.c \
*/
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) ) {
static GLfloat Xrot = 0, Yrot = 0, Zrot = 0;
static GLint ImgWidth, ImgHeight;
-static GLenum ImgFormat;
static GLushort *ImageYUV = NULL;
static void Init( int argc, char *argv[] )
{
const char *file;
- int error;
GLenum format;
if (!glutExtensionSupported("GL_MESA_ycbcr_texture")) {