58 #include <ACG/GL/gl.hh> 59 #include <ACG/Config/ACGDefines.hh> 70 #define checkGLError() \ 71 { int error; if ( (error = glGetError()) != GL_NO_ERROR ) std::cout << "GLError " << __FILE__ << ":" << __LINE__ << " - " << error << std::endl; } 73 #define checkGLError2(str) \ 74 { int error; if ( (error = glGetError()) != GL_NO_ERROR ) std::cout << "GLError " << __FILE__ << ":" << __LINE__ << " - " << error << " - " << str <<std::endl; } 78 #define checkGLError() 79 #define checkGLError2(str) 99 while ((error = glGetError()) != GL_NO_ERROR)
108 #endif //ACGGLERROR_H defined Namespace providing different geometric functions concerning angles.
std::string glErrorToString(GLenum _error)
replaces the gluErrorToString function at least for the standard OpenGL Headers