|
UFO: Alien Invasion
|
Error checking function. More...
#include "../../shared/cxx.h"

Go to the source code of this file.
Macros | |
| #define | R_CheckError() R_CheckErrorDebug(__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | GL_ERROR_TRANSLATE(e) case e: return #e; |
Functions | |
| static const char * | R_TranslateError (GLenum error) |
| static int | R_CheckErrorDebug (const char *file, int line, const char *function) |
| Checks for opengl errors. More... | |
Error checking function.
Definition in file r_error.h.
| #define R_CheckError | ( | ) | R_CheckErrorDebug(__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Checks for opengl errors.
Definition at line 65 of file r_error.h.
References Com_Printf(), GL_FRAMEBUFFER_COMPLETE_EXT, GL_FRAMEBUFFER_EXT, GLenum, glGetError(), cvar_t::integer, r_checkerror, and R_TranslateError().
|
inlinestatic |
Definition at line 33 of file r_error.h.
References GL_ERROR_TRANSLATE, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT, GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT, GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT, GL_FRAMEBUFFER_UNSUPPORTED_EXT, and GL_INVALID_FRAMEBUFFER_OPERATION_EXT.
Referenced by R_CheckErrorDebug(), and R_InitExtensions().