63 case GL_NO_ERROR:
return "No Error";
64 case GL_INVALID_ENUM:
return "invalid enumerant";
65 case GL_INVALID_VALUE:
return "invalid value";
66 case GL_INVALID_OPERATION:
return "invalid operation";
67 # if defined(GL_INVALID_FRAMEBUFFER_OPERATION) 68 case GL_INVALID_FRAMEBUFFER_OPERATION:
return "invalid framebuffer operation";
70 case GL_STACK_OVERFLOW:
return "Stack overflow";
71 case GL_STACK_UNDERFLOW:
return "stack underflow";
72 case GL_OUT_OF_MEMORY:
return "out of memory";
74 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