vulkan/wsi/wayland: remove unnecessary wl_proxy_set_queue call
A wl_proxy inherits its queue from its parent. display->dmabuf.wl_dmabuf already has its queue correctly set up, so it's unnecessary to set it again on the child zwp_linux_buffer_params_v1 proxy. Signed-off-by: Simon Ser <contact@emersion.fr> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11589>
This commit is contained in:
parent
589ea55732
commit
c45a1de5c6
|
@ -954,7 +954,6 @@ wsi_wl_image_init(struct wsi_wl_swapchain *chain,
|
||||||
if (display->dmabuf.wl_dmabuf) {
|
if (display->dmabuf.wl_dmabuf) {
|
||||||
struct zwp_linux_buffer_params_v1 *params =
|
struct zwp_linux_buffer_params_v1 *params =
|
||||||
zwp_linux_dmabuf_v1_create_params(display->dmabuf.wl_dmabuf);
|
zwp_linux_dmabuf_v1_create_params(display->dmabuf.wl_dmabuf);
|
||||||
wl_proxy_set_queue((struct wl_proxy *) params, chain->display->queue);
|
|
||||||
|
|
||||||
for (int i = 0; i < image->base.num_planes; i++) {
|
for (int i = 0; i < image->base.num_planes; i++) {
|
||||||
zwp_linux_buffer_params_v1_add(params,
|
zwp_linux_buffer_params_v1_add(params,
|
||||||
|
|
Loading…
Reference in New Issue