I have a simple problem.
I am writing an application running on GeForce2 and GLUT.
I need to render a frame with no antialising, then do a read pixel, then render another frame with antialising on and swap buffers. Notice that I have only 1 backbuffer and I wish to use it with antialiasing on/off.
I am currently using a
glutInit(GLUT_DOUBLE | GLUT_DEPTH | GLUT_RGBA | GLUT_ALPHA) to init the window (it does not work with GLUT_MULTISAMPLE also).
To turn on/off antialising I use
It seems that when I am rendering the frame I do not want antialiased, it is actually antialising.
PS: I should also mention that under Win2k I have to set a flag in the driver properties in order to get antialising (not just the GL hint).