Module: Mesa Branch: main Commit: 7881874847c4c0cdc5b4b7b001f3f3511f2b90c6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7881874847c4c0cdc5b4b7b001f3f3511f2b90c6
Author: Hannes Mann <[email protected]> Date: Thu Oct 12 19:30:08 2023 +0200 vulkan/wsi/wayland: Fix detection of tearing control protocol Fixes: 5ceba97c2e18 ("vulkan/wsi/wayland: add support for IMMEDIATE") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25689> --- src/vulkan/wsi/wsi_common_wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/wsi/wsi_common_wayland.c b/src/vulkan/wsi/wsi_common_wayland.c index 21fe7a57c72..94b9217cbdf 100644 --- a/src/vulkan/wsi/wsi_common_wayland.c +++ b/src/vulkan/wsi/wsi_common_wayland.c @@ -798,7 +798,7 @@ registry_handle_global(void *data, struct wl_registry *registry, if (strcmp(interface, wp_presentation_interface.name) == 0) { display->wp_presentation_notwrapped = wl_registry_bind(registry, name, &wp_presentation_interface, 1); - } else if (strcmp(interface, wp_tearing_control_v1_interface.name) == 0) { + } else if (strcmp(interface, wp_tearing_control_manager_v1_interface.name) == 0) { display->tearing_control_manager = wl_registry_bind(registry, name, &wp_tearing_control_manager_v1_interface, 1); }
