comparison src/video/ataricommon/SDL_atarigl.c @ 3011:8f4ed5ec2b06

I ran a global "make indent" it modified the following files.
author Bob Pendleton <bob@pendleton.com>
date Fri, 09 Jan 2009 20:43:30 +0000
parents 99210400e8b9
children 8cc00819c8d6
comparison
equal deleted inserted replaced
3010:a6694a812119 3011:8f4ed5ec2b06
347 } else { 347 } else {
348 type = GL_UNSIGNED_BYTE; 348 type = GL_UNSIGNED_BYTE;
349 } 349 }
350 350
351 if (! 351 if (!
352 (_this-> 352 (_this->gl_data->
353 gl_data->OSMesaMakeCurrent(gl_ctx, surface->pixels, type, surface->w, 353 OSMesaMakeCurrent(gl_ctx, surface->pixels, type, surface->w,
354 surface->h))) { 354 surface->h))) {
355 SDL_SetError("Can not make OpenGL context current"); 355 SDL_SetError("Can not make OpenGL context current");
356 return -1; 356 return -1;
357 } 357 }
358 358
359 /* OSMesa draws upside down */ 359 /* OSMesa draws upside down */
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-> 515 _this->gl_config.
516 gl_config.depth_size, 516 depth_size,
517 _this-> 517 _this->gl_config.
518 gl_config.stencil_size, 518 stencil_size, newaccumsize,
519 newaccumsize, NULL); 519 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;