OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a3ef3
)
wsi/wayland: use proper VkResult type
author
Eric Engestrom
<eric.engestrom@intel.com>
Mon, 5 Nov 2018 09:55:02 +0000
(09:55 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 8 Nov 2018 16:05:06 +0000
(16:05 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit
dcee22afed935a434118935bcdad5c4fc7246077
)
src/vulkan/wsi/wsi_common_wayland.c
patch
|
blob
|
history
diff --git
a/src/vulkan/wsi/wsi_common_wayland.c
b/src/vulkan/wsi/wsi_common_wayland.c
index
e9cc22e
..
12014b0
100644
(file)
--- a/
src/vulkan/wsi/wsi_common_wayland.c
+++ b/
src/vulkan/wsi/wsi_common_wayland.c
@@
-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;
-
in
t ret = wsi_wl_display_init(wsi, &display, wl_display, false);
+
VkResul
t ret = wsi_wl_display_init(wsi, &display, wl_display, false);
wsi_wl_display_finish(&display);
- return ret ==
0
;
+ return ret ==
VK_SUCCESS
;
}
static VkResult