mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-08-16 16:50:23 +03:00
send flag on main tranche
This commit is contained in:
parent
30e9d36c06
commit
efd886ec0c
@ -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 New Issue
Block a user