 |
BARE2D
|
|
Go to the documentation of this file.
12 extern std::string
demangle(
const char* mangled);
std::string getErrString(BAREError err)
Returns the string representing/explaining the error that occurred.
@ SDL_MIXER_SOUND_FAILURE
@ SDL_MIXER_CLOSE_FAILURE
BAREError
Represents a specific type of error that has occured.
void throwError(BAREError err, std::string message)
Throws an error silently. Adds it to the pile.
std::vector< BAREError > thrownErrors
void displayErrors()
Displays the latest thrown errors (really just all the thrown errors) in the console.
@ FRAGMENT_SHADER_FAILURE
std::string demangle(const char *mangled)
PLEASE NOTE THAT IF MINGW BREAKS, THIS IS PROBABLY WHY.
void initGLErrorCallback(GLErrorSeverity minSeverity)
Initializes the GL Debug Message Callback function, and enables debug output straight from OpenGL.
void throwFatalError(BAREError err, std::string message)
Throws an error (fatal). Also calls displayErrors and exits the program.
GLErrorSeverity GLErrorMinSeverity