Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
qnxgl_set_current()
Set the current QNXGL context
Synopsis:
int qnxgl_set_current( qnxglc_t * gc );
Arguments:
- gc
- A pointer to the QNXGL context you wish make current.
Library:
qnxgl
Description:
This function makes a qnxglc_t QNXGL context the currently active context. All subsequent OpenGL functions operate on this context.
Returns:
- 0
- The context was successfully set.
- -1
- An error occurred.
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:
"OpenGL" section of the Raw Drawing and Animation chapter in the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)