Don't debug break on notifications

This commit is contained in:
Magnus Norddahl 2016-08-17 21:25:03 +02:00
parent 0c2db5447c
commit a37225b81e

View file

@ -186,12 +186,15 @@ void FGLDebug::DebugCallback(GLenum source, GLenum type, GLuint id, GLenum sever
{
PrintMessage(source, type, id, severity, length, message);
if (severity != GL_DEBUG_SEVERITY_NOTIFICATION)
{
#ifdef _MSC_VER
DebugBreak();
#else
raise(SIGTRAP);
#endif
}
}
//-----------------------------------------------------------------------------
//