Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_atarigl_c.h @ 1004:d1cd674b2ecd
Be sure to compile without OpenGL enabled
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Sat, 04 Dec 2004 10:31:16 +0000 |
parents | 22fc5f45bbb7 |
children | 2ab1cb02a44e |
comparison
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) |