glGetError Function

Syntax

GL_APICALL GLenum GL_APIENTRY glGetError(
     void
);

Arguments

None.

Return Values

Error number.

Description

Gets the error number.

After an error occurs, its number is not overwritten by any other new errors until glGetError is called. Calling this function clears the error number.

Revision History

2010/10/21
Added information on GL_ERROR_COMMANDREQUEST_FULL_DMP.
2010/06/09
Added information on GL_ERROR_COMMANDBUFFER_FULL_DMP.
2010/01/07
Initial version.

CONFIDENTIAL