Commit c80f736f authored by schultz's avatar schultz
Browse files

hotfix: set QOpenGLDebugLogger to synchronous mode to enable stacktraces

when breaking on glerror
parent 9449c61d
...@@ -102,7 +102,7 @@ void glViewer::startGLDebugLogger() ...@@ -102,7 +102,7 @@ void glViewer::startGLDebugLogger()
if (glDebugLogger_->initialize()) if (glDebugLogger_->initialize())
{ {
connect(glDebugLogger_, SIGNAL(messageLogged(QOpenGLDebugMessage)), this, SLOT(processGLDebugMessage(QOpenGLDebugMessage))); connect(glDebugLogger_, SIGNAL(messageLogged(QOpenGLDebugMessage)), this, SLOT(processGLDebugMessage(QOpenGLDebugMessage)));
glDebugLogger_->startLogging(); glDebugLogger_->startLogging(QOpenGLDebugLogger::SynchronousLogging);
} }
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment