1
0
Fork 0
forked from suyu/suyu

OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging level

The nVidia driver is *extremely* spammy on this category, sending a
message on every buffer or texture upload, slowing down the emulator and
making the log useless.
This commit is contained in:
Yuri Kunde Schlesner 2016-02-02 22:44:13 -08:00
parent cd0b31fd73
commit 05356543d9

View file

@ -436,8 +436,6 @@ static void DebugHandler(GLenum source, GLenum type, GLuint id, GLenum severity,
level = Log::Level::Warning; level = Log::Level::Warning;
break; break;
case GL_DEBUG_SEVERITY_NOTIFICATION: case GL_DEBUG_SEVERITY_NOTIFICATION:
level = Log::Level::Info;
break;
case GL_DEBUG_SEVERITY_LOW: case GL_DEBUG_SEVERITY_LOW:
level = Log::Level::Debug; level = Log::Level::Debug;
break; break;