Mercurial > sdl-ios-xcode
diff src/video/ataricommon/SDL_atarigl.c @ 2735:204be4fc2726
Final merge of Google Summer of Code 2008 work...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 27 Aug 2008 15:10:03 +0000 |
parents | adf732f1f016 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarigl.c Wed Aug 27 13:37:19 2008 +0000 +++ b/src/video/ataricommon/SDL_atarigl.c Wed Aug 27 15:10:03 2008 +0000 @@ -349,9 +349,9 @@ } if (! - (_this->gl_data-> - OSMesaMakeCurrent(gl_ctx, surface->pixels, type, surface->w, - surface->h))) { + (_this-> + gl_data->OSMesaMakeCurrent(gl_ctx, surface->pixels, type, surface->w, + surface->h))) { SDL_SetError("Can not make OpenGL context current"); return -1; } @@ -512,10 +512,10 @@ gl_ctx = _this->gl_data->OSMesaCreateContextExt(osmesa_format, - _this->gl_config. - depth_size, - _this->gl_config. - stencil_size, + _this-> + gl_config.depth_size, + _this-> + gl_config.stencil_size, newaccumsize, NULL); if (gl_ctx) {