MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SDL_GL_SetAttributeErrCheck

Function SDL_GL_SetAttributeErrCheck

Source/Graphics/graphics.cpp:783–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783static void SDL_GL_SetAttributeErrCheck(SDL_GLattr attr, int value) {
784 if (SDL_GL_SetAttribute(attr, value) != 0) {
785 FatalError("Error", "Could not set SDL_GL_attribute %d", (int)attr);
786 }
787}
788
789void GLAPIENTRY amd_debug_callback(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, void* userParam) {
790 LOGW << message << std::endl;

Callers 1

InitScreenMethod · 0.85

Calls 1

FatalErrorFunction · 0.50

Tested by

no test coverage detected