From edecfbdb5976df2b826ec10ce33bb4ff1eff4c21 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Fri, 1 Aug 2014 19:19:10 -0400 Subject: [PATCH] Ignore minor logging spammed by recent nvidia drivers --- src/graphics/glwrap.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/graphics/glwrap.cpp b/src/graphics/glwrap.cpp index 698df4f32..08089b0d7 100644 --- a/src/graphics/glwrap.cpp +++ b/src/graphics/glwrap.cpp @@ -96,6 +96,10 @@ CALLBACK debugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* msg, const void *userparam) { + // ignore minor notifications sent by some drivers (notably the nvidia one) + if (severity == GL_DEBUG_SEVERITY_NOTIFICATION) + return; + switch(source) { case GL_DEBUG_SOURCE_API_ARB: