Go to the source code of this file.
|
| #define | O_LOG(...) LOG("OpenGL", __VA_ARGS__) |
| |
| #define | O_WARN(...) WARN("OpenGL", __VA_ARGS__) |
| |
| #define | O_ERROR(...) ERR("OpenGL", __VA_ARGS__) |
| |
| #define | GL(_f) |
| |
◆ GL
Value: gl##_f; \
{ \
GLenum error = glGetError(); \
if(error != GL_NO_ERROR) fprintf(stderr, "%s:%d glGetError() = 0x%04x\n", __FILE__, __LINE__, error); \
assert(error == GL_NO_ERROR); }
◆ O_ERROR
| #define O_ERROR |
( |
| ... | ) |
ERR("OpenGL", __VA_ARGS__) |
◆ O_LOG
| #define O_LOG |
( |
| ... | ) |
LOG("OpenGL", __VA_ARGS__) |
◆ O_WARN
| #define O_WARN |
( |
| ... | ) |
WARN("OpenGL", __VA_ARGS__) |