comparison src/video/photon/SDL_ph_gl.c @ 2698:e1da92da346c gsoc2008_nds

Clean up.
author Darren Alton <dalton@stevens.edu>
date Wed, 27 Aug 2008 04:23:38 +0000
parents c121d94672cb
children cf95a2fd3606
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
313 /* The sum of the accum bits of each channel */ 313 /* The sum of the accum bits of each channel */
314 if ((this->gl_config.accum_red_size != 0) 314 if ((this->gl_config.accum_red_size != 0)
315 && (this->gl_config.accum_blue_size != 0) 315 && (this->gl_config.accum_blue_size != 0)
316 && (this->gl_config.accum_green_size != 0)) { 316 && (this->gl_config.accum_green_size != 0)) {
317 qnxgl_attribs_slide = qnxgl_attrib_set_accum(qnxgl_attribs_slide, 317 qnxgl_attribs_slide = qnxgl_attrib_set_accum(qnxgl_attribs_slide,
318 this->gl_config. 318 this->
319 accum_red_size + 319 gl_config.accum_red_size
320 this->gl_config. 320 +
321 accum_blue_size + 321 this->
322 this->gl_config. 322 gl_config.accum_blue_size
323 accum_green_size + 323 +
324 this->gl_config. 324 this->
325 accum_alpha_size); 325 gl_config.accum_green_size
326 +
327 this->
328 gl_config.accum_alpha_size);
326 } 329 }
327 330
328 /* Stereo mode */ 331 /* Stereo mode */
329 if (this->gl_config.stereo) { 332 if (this->gl_config.stereo) {
330 qnxgl_attribs_slide = qnxgl_attrib_set_stereo(qnxgl_attribs_slide); 333 qnxgl_attribs_slide = qnxgl_attrib_set_stereo(qnxgl_attribs_slide);