mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 11:39:49 +01:00
drm: accept mgpu tests early to avoid a blit
This commit is contained in:
parent
bf651128cf
commit
2dc8ba961c
1 changed files with 4 additions and 0 deletions
|
@ -1336,6 +1336,10 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
|||
flags |= DRM_MODE_PAGE_FLIP_ASYNC;
|
||||
}
|
||||
|
||||
// we can't go further without a blit
|
||||
if (backend->primary && onlyTest)
|
||||
return true;
|
||||
|
||||
SDRMConnectorCommitData data;
|
||||
|
||||
if (STATE.buffer) {
|
||||
|
|
Loading…
Reference in a new issue