glutReportErrors (3) - Linux Manuals
glutReportErrors: Reports all available OpenGL errors.
NAME
glutReportErrors - Reports all available OpenGL errors.LIBRARY
OpenGLUT - openglSYNOPSIS
In openglut.h Ft void Fn glutReportErrors voidDESCRIPTION
Displays 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.