Commit dfce540a authored by Jakob Bornecrantz's avatar Jakob Bornecrantz
Browse files

wsi: Return error from wsi_get_randr_output_display

parent cf79d62f
Pipeline #22428 failed with stages
in 60 minutes and 1 second
......@@ -2373,11 +2373,13 @@ wsi_get_randr_output_display(VkPhysicalDevice physical_device,
struct wsi_display_connector *connector =
wsi_display_get_output(wsi_device, connection, (xcb_randr_output_t) output);
if (connector)
if (connector) {
*display = wsi_display_connector_to_handle(connector);
return VK_SUCCESS;
} else {
*display = VK_NULL_HANDLE;
return VK_SUCCESS;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment