mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
wsi/x11: Fix type of target_msc argument to x11_present_to_x11_dri3
Broken out of VK_GOOGLE_display_timing patch Cc: stable Co-author: Jakob Bornecrantz <jakob@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9939>
This commit is contained in:
parent
302dce9929
commit
8c7940cc0f
1 changed files with 3 additions and 3 deletions
|
|
@ -1050,7 +1050,7 @@ x11_acquire_next_image_from_queue(struct x11_swapchain *chain,
|
|||
|
||||
static VkResult
|
||||
x11_present_to_x11_dri3(struct x11_swapchain *chain, uint32_t image_index,
|
||||
uint32_t target_msc)
|
||||
uint64_t target_msc)
|
||||
{
|
||||
struct x11_image *image = &chain->images[image_index];
|
||||
|
||||
|
|
@ -1122,7 +1122,7 @@ x11_present_to_x11_dri3(struct x11_swapchain *chain, uint32_t image_index,
|
|||
|
||||
static VkResult
|
||||
x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index,
|
||||
uint32_t target_msc)
|
||||
uint64_t target_msc)
|
||||
{
|
||||
struct x11_image *image = &chain->images[image_index];
|
||||
|
||||
|
|
@ -1148,7 +1148,7 @@ x11_present_to_x11_sw(struct x11_swapchain *chain, uint32_t image_index,
|
|||
}
|
||||
static VkResult
|
||||
x11_present_to_x11(struct x11_swapchain *chain, uint32_t image_index,
|
||||
uint32_t target_msc)
|
||||
uint64_t target_msc)
|
||||
{
|
||||
if (chain->base.wsi->sw)
|
||||
return x11_present_to_x11_sw(chain, image_index, target_msc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue