Merge pull request #4163 from FearlessTobi/port-1097

Port #1097 from yuzu: "renderer_opengl: Treat OpenGL errors as critical."
This commit is contained in:
Weiyi Wang 2018-08-31 21:43:52 +03:00 committed by GitHub
commit ffd78b635e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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