src/video/ataricommon/SDL_atarigl_c.h
changeset 1004 d1cd674b2ecd
parent 995 22fc5f45bbb7
child 1005 2ab1cb02a44e
equal deleted inserted replaced
1003:ece5ab8acd1c 1004:d1cd674b2ecd
    46 	void (*ConvertSurface)(_THIS, SDL_Surface *surface);	
    46 	void (*ConvertSurface)(_THIS, SDL_Surface *surface);	
    47 
    47 
    48 	/* to convert the shadow buffer to the screen format */
    48 	/* to convert the shadow buffer to the screen format */
    49 	void (*CopyShadow)(_THIS, SDL_Surface *surface);	
    49 	void (*CopyShadow)(_THIS, SDL_Surface *surface);	
    50 
    50 
       
    51 #ifdef HAVE_OPENGL
    51 	OSMesaContext	ctx;
    52 	OSMesaContext	ctx;
    52 
    53 
    53 	/* OpenGL functions */
    54 	/* OpenGL functions */
    54 	void (*glGetIntegerv)( GLenum pname, GLint *value );
    55 	void (*glGetIntegerv)( GLenum pname, GLint *value );
    55 	void (*glFinish)(void);
    56 	void (*glFinish)(void);
    68 
    69 
    69 	/* Info needed to compare existing context with new asked one */
    70 	/* Info needed to compare existing context with new asked one */
    70 	int width, height;
    71 	int width, height;
    71 	GLenum format;
    72 	GLenum format;
    72 	GLint depth,stencil,accum;
    73 	GLint depth,stencil,accum;
       
    74 #endif
    73 };
    75 };
    74 
    76 
    75 /* Variable names */
    77 /* Variable names */
    76 #define gl_active	(this->gl_data->gl_active)
    78 #define gl_active	(this->gl_data->gl_active)
    77 #define gl_ctx		(this->gl_data->ctx)
    79 #define gl_ctx		(this->gl_data->ctx)