OGLGetLastOpenGLError
int OGLGetLastOpenGLError (int panelHandle, int OGLControlId, int *openGLErrorCode);
Purpose
Retrieves the last OpenGL error code when one of the OGL functions returns the error OGLErrorOpenGLError.
Parameters
| Input | ||
| Name | Type | Description |
| panelHandle | int | The specifier for a particular panel that is currently in memory. This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function. |
| OGLControlId | int | The ID returned by OGLNewCtrl or OGLConvertCtrl. |
| Output | ||
| Name | Type | Description |
| openGLErrorCode | int | The error code of the last OpenGL error. |
Return Value
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| status | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred.Error Codes
|
Additional Information
Library: OpenGL 3D Plotting Control
Include file: custctrl\cviogl.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later