mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 07:41:22 +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,11 +186,14 @@ 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();
|
||||
DebugBreak();
|
||||
#else
|
||||
raise(SIGTRAP);
|
||||
raise(SIGTRAP);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue