PDA

View Full Version : of SwapBuffers() and glFlush()



BwB
03-16-2001, 11:53 AM
Is glFlush() best called before or after SwapBuffers() or not at all? I've seen it done all three ways. Thanks!

mcraighead
03-16-2001, 11:56 AM
Neither. A SwapBuffers pretty much implies that the driver has to do an internal flush. I can't see how you could possibly do an OpenGL implementation where it would be otherwise.

- Matt

BwB
03-16-2001, 11:59 AM
Thanks Matt!