Lower severity of "Got invalid timestamp" message

BUG: 459405
This commit is contained in:
Vlad Zahorodnii 2022-09-20 10:59:08 +03:00
parent d6234d0411
commit d32aebb747

View file

@ -128,10 +128,10 @@ void RenderLoopPrivate::notifyFrameCompleted(std::chrono::nanoseconds timestamp)
if (lastPresentationTimestamp <= timestamp) {
lastPresentationTimestamp = timestamp;
} else {
qCWarning(KWIN_CORE,
"Got invalid presentation timestamp: %lld (current %lld)",
static_cast<long long>(timestamp.count()),
static_cast<long long>(lastPresentationTimestamp.count()));
qCDebug(KWIN_CORE,
"Got invalid presentation timestamp: %lld (current %lld)",
static_cast<long long>(timestamp.count()),
static_cast<long long>(lastPresentationTimestamp.count()));
lastPresentationTimestamp = std::chrono::steady_clock::now().time_since_epoch();
}