src/video/ataricommon/SDL_atarigl_c.h
changeset 1005 2ab1cb02a44e
parent 1004 d1cd674b2ecd
child 1361 19418e4422cb
     1.1 --- a/src/video/ataricommon/SDL_atarigl_c.h	Sat Dec 04 10:31:16 2004 +0000
     1.2 +++ b/src/video/ataricommon/SDL_atarigl_c.h	Sat Dec 04 20:53:58 2004 +0000
     1.3 @@ -40,6 +40,8 @@
     1.4  
     1.5  	int	gl_pixelsize;	/* for CopyShadow functions */
     1.6  
     1.7 +	SDL_bool gl_upsidedown; /* Some implementations draw upside down */
     1.8 +
     1.9  	Uint8 *gl_shadow;	/* Shadow buffer for old implementations */
    1.10  
    1.11  	/* for unsupported OSMesa buffer formats */
    1.12 @@ -75,19 +77,20 @@
    1.13  };
    1.14  
    1.15  /* Variable names */
    1.16 -#define gl_active	(this->gl_data->gl_active)
    1.17 -#define gl_ctx		(this->gl_data->ctx)
    1.18 -#define gl_oldmesa	(this->gl_data->gl_oldmesa)
    1.19 +#define gl_active		(this->gl_data->gl_active)
    1.20 +#define gl_ctx			(this->gl_data->ctx)
    1.21 +#define gl_oldmesa		(this->gl_data->gl_oldmesa)
    1.22  #define gl_pixelsize	(this->gl_data->gl_pixelsize)
    1.23 -#define gl_shadow	(this->gl_data->gl_shadow)
    1.24 -#define gl_convert	(this->gl_data->ConvertSurface)
    1.25 +#define gl_upsidedown	(this->gl_data->gl_upsidedown)
    1.26 +#define gl_shadow		(this->gl_data->gl_shadow)
    1.27 +#define gl_convert		(this->gl_data->ConvertSurface)
    1.28  #define gl_copyshadow	(this->gl_data->CopyShadow)
    1.29  #define gl_curformat	(this->gl_data->format)
    1.30  #define gl_curdepth		(this->gl_data->depth)
    1.31  #define gl_curstencil	(this->gl_data->stencil)
    1.32  #define gl_curaccum		(this->gl_data->accum)
    1.33 -#define gl_curwidth	(this->gl_data->width)
    1.34 -#define gl_curheight		(this->gl_data->height)
    1.35 +#define gl_curwidth		(this->gl_data->width)
    1.36 +#define gl_curheight	(this->gl_data->height)
    1.37  
    1.38  /* OpenGL functions */
    1.39  extern int SDL_AtariGL_Init(_THIS, SDL_Surface *current);