mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Don't debug break on notifications
This commit is contained in:
parent
0c2db5447c
commit
a37225b81e
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue