Equalizer
1.4.1
|
Includes OpenGL and GLEW headers. More...
#include <eq/client/api.h>
#include <string>
#include <eq/GL/glew.h>
#include <eq/GL/glxew.h>
#include <eq/GL/wglew.h>
#include <OpenGL/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 LBWARN. | |
std::string | eq::glError (const GLenum error) |
Includes OpenGL and GLEW headers.
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__ ); \ }