ATI Radeon 9000 & Rendering in Front Buffer

I’ve created an OpenGL Rendering context with double buffering. All is Ok when I render in back and swap to front. But when I try to draw directly in the window [with glDrawBuffer(GL_FRONT)], nothing appears on my Radeon 9000 with lastest drivers… It works only with very old driver !
What is wrong ?
Thanks

This is not a windows-specific problem, though on other machines it may work correctly without the following change. You should call glFlush() at the end of drawing to make sure OpenGL outputs the graphics you have sent to it. I imagine SwapBuffers does an implicit flush, but in single buffer mode OpenGL needs to be told when you’ve finished drawing the image.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.