renderer: ensure buffer format on commit (#7556)
This commit is contained in:
parent
8210a1d7ac
commit
98e99cd03d
2 changed files with 8 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue