[ Previous | Next | Table Of Contents

7.12 void pglWaitPM(hab)

void pglWaitPM(hab)

Description:

Ensures that all Gpi rendering commands made prior to pglWaitPM are executed before any OpenGL rendering calls made after pglWaitPM. This call is ignored if there is no current context. OpenGL and Gpi ren- dering calls can only be integrated in the same window if the OpenGL context being used is an indirect context.

Parameters:
HAB hab Handle to Anchor Block

Return Values:

Notes:

Gpi drawing intermingled with OpenGL drawing is only allowed on Indirect contexts that use Gpi to blit their OpenGL ren- dering to the screen. Gpi drawing is not guaranteed to be visible until pglWaitPM has been called.

Gpi has no concept of front and back buffers. All Gpi drawing com- mands are therefore assumed to affect the OpenGL front buffer.

pglWaitPM is ignored if there is no current context 


[ Previous | Next | Table Of Contents ]