71 case GL_NO_ERROR:
return "No Error";
72 case GL_INVALID_ENUM:
return "invalid enumerant";
73 case GL_INVALID_VALUE:
return "invalid value";
74 case GL_INVALID_OPERATION:
return "invalid operation";
75 # if defined(GL_INVALID_FRAMEBUFFER_OPERATION)
76 case GL_INVALID_FRAMEBUFFER_OPERATION:
return "invalid framebuffer operation";
78 case GL_STACK_OVERFLOW:
return "Stack overflow";
79 case GL_STACK_UNDERFLOW:
return "stack underflow";
80 case GL_OUT_OF_MEMORY:
return "out of memory";
82 return "Unknown OpenGL Error! glErrorToString is unable to convert this error number to a string!" ;
Namespace providing different geometric functions concerning angles.
std::string glErrorToString(GLenum _error)
replaces the gluErrorToString function at least for the standard OpenGL Headers