backends/wayland: don't clear the format map on tranche_done
It's not per tranche, it's global. Clearing the map means we ignore formats from non-preferred tranches entirely
This commit is contained in:
parent
686ea6374b
commit
c6c99c1740
1 changed files with 0 additions and 1 deletions
|
@ -231,7 +231,6 @@ private:
|
|||
WaylandLinuxDmabufFeedbackV1 *feedback = static_cast<WaylandLinuxDmabufFeedbackV1 *>(data);
|
||||
|
||||
feedback->trancheDeviceId = 0;
|
||||
feedback->formatTable = MemoryMap{};
|
||||
}
|
||||
|
||||
static void tranche_target_device(void *data, zwp_linux_dmabuf_feedback_v1 *zwp_linux_dmabuf_feedback_v1, wl_array *deviceId)
|
||||
|
|
Loading…
Reference in a new issue