remove spammy logs for DS

This commit is contained in:
vaxerski 2022-11-05 13:06:48 +00:00
parent f50c786640
commit 6a59b57ef8

View file

@ -591,7 +591,6 @@ bool CHyprRenderer::attemptDirectScanout(CMonitor* pMonitor) {
wlr_output_attach_buffer(pMonitor->output, &PSURFACE->buffer->base); wlr_output_attach_buffer(pMonitor->output, &PSURFACE->buffer->base);
if (!wlr_output_test(pMonitor->output)) { if (!wlr_output_test(pMonitor->output)) {
Debug::log(ERR, "Direct scanout test failed for %x", PCANDIDATE);
return false; return false;
} }
@ -603,7 +602,6 @@ bool CHyprRenderer::attemptDirectScanout(CMonitor* pMonitor) {
Debug::log(LOG, "Entered a direct scanout to %x: \"%s\"", PCANDIDATE, PCANDIDATE->m_szTitle.c_str()); Debug::log(LOG, "Entered a direct scanout to %x: \"%s\"", PCANDIDATE, PCANDIDATE->m_szTitle.c_str());
} }
} else { } else {
Debug::log(ERR, "Direct scanout failed for %x: \"%s\"", PCANDIDATE, PCANDIDATE->m_szTitle.c_str());
m_pLastScanout = nullptr; m_pLastScanout = nullptr;
return false; return false;
} }