Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_atarigl.c @ 2043:adf732f1f016
Formatting update
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 24 Sep 2006 15:56:55 +0000 |
parents | b657f0bc72c2 |
children | e1da92da346c |
comparison
equal
deleted
inserted
replaced
2042:3908e1f808e1 | 2043:adf732f1f016 |
---|---|
510 if (recreatecontext) { | 510 if (recreatecontext) { |
511 SDL_AtariGL_Quit(this, SDL_FALSE); | 511 SDL_AtariGL_Quit(this, SDL_FALSE); |
512 | 512 |
513 gl_ctx = | 513 gl_ctx = |
514 _this->gl_data->OSMesaCreateContextExt(osmesa_format, | 514 _this->gl_data->OSMesaCreateContextExt(osmesa_format, |
515 _this->gl_config. | 515 _this->gl_config. |
516 depth_size, | 516 depth_size, |
517 _this->gl_config. | 517 _this->gl_config. |
518 stencil_size, | 518 stencil_size, |
519 newaccumsize, NULL); | 519 newaccumsize, NULL); |
520 | 520 |
521 if (gl_ctx) { | 521 if (gl_ctx) { |
522 gl_curformat = osmesa_format; | 522 gl_curformat = osmesa_format; |
523 gl_curdepth = _this->gl_config.depth_size; | 523 gl_curdepth = _this->gl_config.depth_size; |
524 gl_curstencil = _this->gl_config.stencil_size; | 524 gl_curstencil = _this->gl_config.stencil_size; |
677 if (recreatecontext) { | 677 if (recreatecontext) { |
678 SDL_AtariGL_Quit(_this, SDL_FALSE); | 678 SDL_AtariGL_Quit(_this, SDL_FALSE); |
679 | 679 |
680 gl_shadow = | 680 gl_shadow = |
681 _this->gl_data->OSMesaCreateLDG(osmesa_format, GL_UNSIGNED_BYTE, | 681 _this->gl_data->OSMesaCreateLDG(osmesa_format, GL_UNSIGNED_BYTE, |
682 current->w, current->h); | 682 current->w, current->h); |
683 | 683 |
684 if (gl_shadow) { | 684 if (gl_shadow) { |
685 gl_curformat = osmesa_format; | 685 gl_curformat = osmesa_format; |
686 gl_curwidth = current->w; | 686 gl_curwidth = current->w; |
687 gl_curheight = current->h; | 687 gl_curheight = current->h; |