mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-10 02:32:27 +02:00
Use synchronous logging (may impact performance when debugging is enabled)
This commit is contained in:
parent
1652965ac2
commit
e4334be0cf
1 changed files with 1 additions and 0 deletions
|
@ -102,5 +102,6 @@ void GLDebug::setupLogger(QObject* window) {
|
|||
QObject::connect(logger, &QOpenGLDebugLogger::messageLogged, window, [&](const QOpenGLDebugMessage & debugMessage) {
|
||||
GLDebug::log(debugMessage);
|
||||
});
|
||||
logger->startLogging(QOpenGLDebugLogger::SynchronousLogging);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue