glutReportErrors (3) - Linux Manuals
glutReportErrors: Reports all available OpenGL errors.
NAMEglutReportErrors - Reports all available OpenGL errors.
LIBRARYOpenGLUT - opengl
SYNOPSISIn openglut.h Ft void Fn glutReportErrors void
DESCRIPTIONDisplays as an OpenGLUT warning every OpenGL error that OpenGL remembers giving to us and which we have not processed. Uses gluErrorString().
This is forcibly done by OpenGLUT periodically if "-gldebug" is one of the strings passed into glutInit() via rgv.
SEE ALSOgluErrorString(3) glutInit(3)