renderer: ensure buffer format on commit (#7556)

This commit is contained in:
Ikalco
2024-08-28 08:07:13 -05:00
committed by GitHub
parent 8210a1d7ac
commit 98e99cd03d
2 changed files with 8 additions and 4 deletions

View File

@@ -1910,6 +1910,7 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
pMonitor->currentMode = nullptr;
pMonitor->output->state->setFormat(DRM_FORMAT_XRGB8888);
pMonitor->drmFormat = DRM_FORMAT_XRGB8888;
pMonitor->output->state->resetExplicitFences();
bool autoScale = false;