mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-26 15:12:49 +00:00
Merge pull request #4163 from FearlessTobi/port-1097
Port #1097 from yuzu: "renderer_opengl: Treat OpenGL errors as critical."
This commit is contained in:
commit
ffd78b635e
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue