mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
wsi/wayland: use proper VkResult type
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
ce837a5372
commit
dcee22afed
1 changed files with 2 additions and 2 deletions
|
|
@ -455,10 +455,10 @@ wsi_wl_get_presentation_support(struct wsi_device *wsi_device,
|
|||
(struct wsi_wayland *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_WAYLAND];
|
||||
|
||||
struct wsi_wl_display display;
|
||||
int ret = wsi_wl_display_init(wsi, &display, wl_display, false);
|
||||
VkResult ret = wsi_wl_display_init(wsi, &display, wl_display, false);
|
||||
wsi_wl_display_finish(&display);
|
||||
|
||||
return ret == 0;
|
||||
return ret == VK_SUCCESS;
|
||||
}
|
||||
|
||||
static VkResult
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue