mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 10:00:14 +01:00
assorted fixes
This commit is contained in:
parent
180e28e6d4
commit
384800fe12
4 changed files with 1 additions and 4 deletions
|
|
@ -34,7 +34,6 @@ SOURCES = antialias.c \
|
|||
seccolor.c \
|
||||
sharedtex.c \
|
||||
stencilwrap.c \
|
||||
swaplock.c \
|
||||
tex1d.c \
|
||||
texline.c \
|
||||
texrect.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) ) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
static GLfloat Xrot = 0, Yrot = 0, Zrot = 0;
|
||||
static GLint ImgWidth, ImgHeight;
|
||||
static GLenum ImgFormat;
|
||||
static GLushort *ImageYUV = NULL;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue