I’ve been successfuly running OpenGL on several platforms including Linux(RedHat,Suse), Unix(Sun, HP) workstations and PC windows using mixed (single/double)buffer.
However, because my new IBM AIX workstation only allows double buffer for the framebuffer config, I had to use it with “glDrawBuffer(GL_FRONT)” just after “glXChooseVisual()” when single buffer is neeed. It did not work out.
Turned out, glXMakeCurrent() put the buffer back
to back buffer. I checked it with “glGetInteger()”
before and after the “glXMakeCurrent()”.
Why does it switch the buffer to back from front?
Am I doing something wrong?
In addition, is there going to be a performance change if I use “glDrawBuffer(GL_FRONT_AND_BACK)” instead of “glDrawBuffer(GL_FRONT)” ,
-Thanks.
K.B.