Ensure that all OpenGL rendering commands made prior to pglWaitGL are executed before and Gpi rendering calls made after pglWaitGL. This call is ignored if there is no current context or if the current context is a direct context which does not use Gpi for displaying OpenGL images. The return value for this function is HPS that has the bitmap set in it to be the bitmap containing OpenGL rendering.

#include <pgl.h>

HAB    hab;
HPS    hps;

hps = pglWaitGL(hab);


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