This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Destroy a QNXGL context
void qnxgl_context_destroy( qnxglc_t * gc );
qnxgl
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.
See the code example in the OpenGL section of "Raw Drawing and Animation" in the Photon Programmer's Guide.
Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide