diff options
Diffstat (limited to 'src/vulkan/wsi/wsi_common_display.c')
-rw-r--r-- | src/vulkan/wsi/wsi_common_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c index e6cba188dfa..1e90bba460c 100644 --- a/src/vulkan/wsi/wsi_common_display.c +++ b/src/vulkan/wsi/wsi_common_display.c @@ -1517,7 +1517,7 @@ wsi_register_vblank_event(struct wsi_display_fence *fence, flags, frame_requested, frame_queued, - (uint64_t) fence); + (uintptr_t) fence); if (!ret) return VK_SUCCESS; @@ -2342,7 +2342,7 @@ wsi_get_randr_output_display(VkPhysicalDevice physical_device, if (connector) *display = wsi_display_connector_to_handle(connector); else - *display = NULL; + *display = VK_NULL_HANDLE; return VK_SUCCESS; } |