Skip to content

Commit

Permalink
libgui|GL: Avoid excessive OpenGL debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 1, 2018
1 parent 7112eb2 commit 571c673
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/sdk/libgui/src/graphics/glinfo.cpp
Expand Up @@ -277,6 +277,12 @@ DENG2_PIMPL_NOREF(GLInfo), public QOpenGLFunctions_Doomsday
QObject::connect(logger, &QOpenGLDebugLogger::messageLogged,
[] (QOpenGLDebugMessage const &debugMessage)
{
if (debugMessage.severity() == QOpenGLDebugMessage::NotificationSeverity)
{
// Too verbose.
return;
}

char const *mType = "--";
char const *mSeverity = "--";

Expand Down

0 comments on commit 571c673

Please sign in to comment.