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:
Xaver Hugl 2024-03-24 22:37:12 +01:00
parent 686ea6374b
commit c6c99c1740

View file

@ -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)