mirror of https://gitlab.freedesktop.org/mesa/mesa
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:
parent
8b53127e9f
commit
05c4c17f91
|
@ -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).
|
* Send image to X server unaccelerated (software drivers).
|
||||||
*/
|
*/
|
||||||
static VkResult
|
static VkResult
|
||||||
x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index,
|
x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index)
|
||||||
uint64_t target_msc)
|
|
||||||
{
|
{
|
||||||
assert(!chain->base.image_info.explicit_sync);
|
assert(!chain->base.image_info.explicit_sync);
|
||||||
struct x11_image *image = &chain->images[image_index];
|
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;
|
VkResult result;
|
||||||
if (chain->base.wsi->sw && !chain->has_mit_shm)
|
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
|
else
|
||||||
result = x11_present_to_x11_dri3(chain, image_index, target_msc, present_mode);
|
result = x11_present_to_x11_dri3(chain, image_index, target_msc, present_mode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue