single buffer visual.

My IBM Power4 machine-AIX failed to find single buffer
even though it found double buffer visual.
Why?

I am using glXChooseVisual() with attribute
attrib={GLX_RGBA,GLX_REDSIZE,1,GLX_GREEN_SIZE,1,
GLX_BLUE_SIZE,1,None}.

If I add GLX_DOUBLEBUFFER to the list, my code worked fine. Any thing wrong, is it possible?

Thanks.

-Kobe

Your system may not support single buffer rendering with those attributes.

It’s not a great loss.

I am developing a code suing mixed mode of the buffers for several platfoms (unix, linux & windows). Is it a safe bet assuming all platforms
have double buffer?

-Thanks.

Yes, you can be pretty sure you have a double buffered visual available with OpenGL.