wsi/x11: drop unused param in x11_present_to_x11_sw()

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28806>
This commit is contained in:
Eric Engestrom 2024-04-18 12:26:02 +02:00 committed by Marge Bot
parent 8b53127e9f
commit 05c4c17f91
1 changed files with 2 additions and 3 deletions

View File

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