version 3.3

openglconfig.h File Reference

#include <GL/glew.h>

Go to the source code of this file.

Defines

#define VRS_CheckErrorGL(STRING)


Define Documentation

#define VRS_CheckErrorGL ( STRING   ) 

Value:

{ \
    const GLenum error = glGetError(); \
    if(error != GL_NO_ERROR) { \
        VRS_Warning(0, "OpenGL error (" << STRING << "): " << gluErrorString(error) << " (" << error << ")"); \
        VRS_Warning(glGetError() == GL_NO_ERROR, "Cannot reset OpenGL error variable!"); \
    } \
}


Generated on Wed May 23 06:00:15 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact