From 05c4c17f912ce69862f84345d17cef98d8fc1336 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 18 Apr 2024 12:26:02 +0200 Subject: [PATCH] wsi/x11: drop unused param in x11_present_to_x11_sw() Part-of: --- src/vulkan/wsi/wsi_common_x11.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 54640f9d04f..29b123e624e 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -1459,8 +1459,7 @@ x11_present_to_x11_dri3(struct x11_swapchain *chain, uint32_t image_index, * Send image to X server unaccelerated (software drivers). */ static VkResult -x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index, - uint64_t target_msc) +x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index) { assert(!chain->base.image_info.explicit_sync); struct x11_image *image = &chain->images[image_index]; @@ -1662,7 +1661,7 @@ x11_present_to_x11(struct x11_swapchain *chain, uint32_t image_index, VkResult result; if (chain->base.wsi->sw && !chain->has_mit_shm) - result = x11_present_to_x11_sw(chain, image_index, target_msc); + result = x11_present_to_x11_sw(chain, image_index); else result = x11_present_to_x11_dri3(chain, image_index, target_msc, present_mode);