PDA

View Full Version : glClear() and GL_AUX0



Luke_yaddahyaddah
11-26-2002, 04:28 PM
I'm writing an image to buffer GL_AUX0 and want it to stay there for the duration of my program. Whenever I call 'glClear(GL_COLOR_BUFFER_BIT)', however, I clear GL_AUX0, even when I preceed the glClear() call with 'glDrawBuffer(GL_FRONT|GL_BACK)' (have also tried 'glDrawBuffer(~GL_AUX0)'). -- Help!

Thanks in advance. Luke.