![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Change the color buffer for a QNXGL buffer
int glSetPhotonRenderSurfaceQNX(
               qnxgl_bufs_t *bufs,
               PgSurface_t *  surf,
               int  buffer_index );
GL
This function replaces a color buffer in a QNXGL buffer with a new PgSurface_t color buffer.
0 on success, -1 on error
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
![]()  | 
![]()  | 
![]()  | 
![]()  |