Ignore minor logging spammed by recent nvidia drivers

This commit is contained in:
Marianne Gagnon 2014-08-01 19:19:10 -04:00
parent ca30bf7d5a
commit edecfbdb59

View File

@ -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: