67 #include <ACG/GL/gl.hh>
68 #include <ACG/Config/ACGDefines.hh>
79 #define checkGLError() \
80 { int error; if ( (error = glGetError()) != GL_NO_ERROR ) std::cout << "GLError " << __FILE__ << ":" << __LINE__ << " - " << error << std::endl; }
82 #define checkGLError2(str) \
83 { int error; if ( (error = glGetError()) != GL_NO_ERROR ) std::cout << "GLError " << __FILE__ << ":" << __LINE__ << " - " << error << " - " << str <<std::endl; }
87 #define checkGLError()
88 #define checkGLError2(str)
108 while ((error = glGetError()) != GL_NO_ERROR)
117 #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