Swaps the front and back buffers of hwnd. This routine has no effect on windows attached to single buffered contexts. An implicit glFlush is done by pglSwapbuffers before it returns. Double buffered rendering is done when smooth animation between frames is desired. OpenGL commands issued after calling pglSwapBuffers are not issued until the buffer swap is complete.

#include <pgl.h>

HAB     hab;
HWND    hwnd;

pglSwapBuffers(hab, hwnd);


[Back: pglSwapBuffers]
[Next: pglSwapBuffers Parameter - hab]