mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-13 08:25:59 +01:00
send flag on main tranche
This commit is contained in:
parent
f472dcd67b
commit
be4051e923
1 changed files with 3 additions and 0 deletions
|
@ -303,6 +303,9 @@ void CLinuxDMABUFFeedbackResource::sendDefault() {
|
|||
// Main tranche
|
||||
resource->sendTrancheTargetDevice(&deviceArr);
|
||||
|
||||
// Technically, on a single-gpu system, this is correct I believe.
|
||||
resource->sendTrancheFlags(ZWP_LINUX_DMABUF_FEEDBACK_V1_TRANCHE_FLAGS_SCANOUT);
|
||||
|
||||
wl_array indices;
|
||||
wl_array_init(&indices);
|
||||
for (size_t i = 0; i < feedback->formats.size(); ++i) {
|
||||
|
|
Loading…
Reference in a new issue