Equalizer 1.0
|
Includes OpenGL headers (GLEW). More...
#include <eq/api.h>
#include <string>
#include <eq/GL/glew.h>
#include <eq/GL/glxew.h>
#include <eq/GL/wglew.h>
#include <GL/gl.h>
Go to the source code of this file.
Namespaces | |
namespace | eq |
The Equalizer client library. | |
Defines | |
#define | EQ_GL_ERROR(when) |
#define | EQ_GL_CALL(code) |
Functions | |
void | eq::debugGLError (const std::string &when, const GLenum error, const char *file, const int line) |
Output an error OpenGL in a human-readable form to EQWARN. |
Includes OpenGL headers (GLEW).
Define EQ_IGNORE_GLEW before including any Equalizer header if you have trouble with your system-installed OpenGL header and do not need GLEW.
Definition in file gl.h.
#define EQ_GL_CALL | ( | code | ) |
#define EQ_GL_ERROR | ( | when | ) |
{ \ const GLenum eqGlError = glGetError(); \ if( eqGlError ) \ eq::debugGLError( when, eqGlError, __FILE__, __LINE__ ); \ }