View Full Version : Does glXSwapB perform glFlus when it is called with single-buffer window?

08-21-2012, 02:44 AM
Document(http://www.opengl.org/sdk/docs/man/xhtml/glXSwapBuffers.xml) saids glXSwapBuffers performs an implicit glFlush and has no effect when drawable is not double buffer.

If I called glXSwapBuffers with single-buffer window, does it perform glFlush before returned? or do nothing and just returns?

08-21-2012, 09:06 AM
You aren't suppose to call glXSwapBuffers on a single buffered window. It won't display anything. You have to call glFlush().