assorted fixes

This commit is contained in:
Brian Paul 2004-04-23 14:14:04 +00:00
parent 180e28e6d4
commit 384800fe12
4 changed files with 1 additions and 4 deletions

View file

@ -34,7 +34,6 @@ SOURCES = antialias.c \
seccolor.c \
sharedtex.c \
stencilwrap.c \
swaplock.c \
tex1d.c \
texline.c \
texrect.c \

View file

@ -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) ) {

View file

@ -18,7 +18,6 @@
static GLfloat Xrot = 0, Yrot = 0, Zrot = 0;
static GLint ImgWidth, ImgHeight;
static GLenum ImgFormat;
static GLushort *ImageYUV = NULL;

View file

@ -128,7 +128,6 @@ static void SpecialKey( int key, int x, int y )
static void Init( int argc, char *argv[] )
{
const char *file;
int error;
GLenum format;
if (!glutExtensionSupported("GL_MESA_ycbcr_texture")) {