drm: fix log

This commit is contained in:
Vaxry 2024-07-08 18:37:49 +02:00
parent acba4aa037
commit 5f9f0601c3

View file

@ -497,8 +497,8 @@ void Aquamarine::CDRMBackend::recheckCRTCs() {
c->output->commit(); c->output->commit();
} }
c->crtc = crtcs.at(i);
backend->log(AQ_LOG_DEBUG, std::format("drm: slot {} crtc {} assigned to {} (old {})", i, crtcs.at(i)->id, c->szName, c->crtc ? c->crtc->id : -1)); backend->log(AQ_LOG_DEBUG, std::format("drm: slot {} crtc {} assigned to {} (old {})", i, crtcs.at(i)->id, c->szName, c->crtc ? c->crtc->id : -1));
c->crtc = crtcs.at(i);
assigned = true; assigned = true;
changed.emplace_back(c); changed.emplace_back(c);
std::erase(recheck, c); std::erase(recheck, c);