[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

qnxgl_context_destroy()

Destroy a QNXGL context

Synopsis:

void qnxgl_context_destroy( qnxglc_t * gc );

Arguments:

gc
The QNXGL context to destroy.

Library:

qnxgl

Description:

This function destroys a QNXGL context created by qnxgl_context_create(). If the context being destroyed is the current context, then the current context is set to NULL, and all subsequent OpenGL commands have undefined behavior until you make another context the current one.

Examples:

See the code example in the OpenGL section of "Raw Drawing and Animation" in the Photon Programmer's Guide.

Classification:

Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

qnxgl_context_create()

"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]