1
0
Fork 0

renderer_opengl: Treat OpenGL errors as critical.

This commit is contained in:
bunnei 2018-08-16 22:09:20 -04:00 committed by fearlessTobi
parent 05118a2326
commit ffdc27351a
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ static void APIENTRY DebugHandler(GLenum source, GLenum type, GLuint id, GLenum
Log::Level level; Log::Level level;
switch (severity) { switch (severity) {
case GL_DEBUG_SEVERITY_HIGH: case GL_DEBUG_SEVERITY_HIGH:
level = Log::Level::Error; level = Log::Level::Critical;
break; break;
case GL_DEBUG_SEVERITY_MEDIUM: case GL_DEBUG_SEVERITY_MEDIUM:
level = Log::Level::Warning; level = Log::Level::Warning;