GL_APICALL GLenum GL_APIENTRY glGetError(
void
);
None.
Gets the error number.
GL_NO_ERROR indicates that no errors have occurred.GL_INVALID_ENUM indicates that an error has occurred because an invalid GLenum-type argument was specified.GL_INVALID_VALUE indicates that an error has occurred because an out-of-range number was specified as an argument.GL_INVALID_OPERATION indicates that an error has occurred because of an invalid operation.GL_INVALID_FRAMEBUFFER_OPERATION indicates that an error has occurred because of an attempt to render to or read from an incorrectly configured framebuffer.GL_OUT_OF_MEMORY indicates that an error has occurred because memory allocation failed.GL_ERROR_COMMANDBUFFER_FULL_DMP indicates that an error has occurred because of an overflow in the current command buffer.GL_ERROR_COMMANDREQUEST_FULL_DMP indicates that an error has occurred because of an overflow of command requests accumulated in the current command list.
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.
GL_ERROR_COMMANDREQUEST_FULL_DMP.GL_ERROR_COMMANDBUFFER_FULL_DMP.CONFIDENTIAL