| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Initialize the QNXGL API
int qnxgl_init ( char * path, char * pattern, uint32_t flags );
qnxgl
This function initializes the QNXGL API. You must call it before calling any OpenGLTM or any other QNXGL functions.
The number of OpenGL renderers found, or -1 on error.
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
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |