Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jakob Bornecrantz
mesa
Commits
dfce540a
Commit
dfce540a
authored
Mar 05, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/vulkan/wsi/wsi_common_display.c
View file @
dfce540a
...
...
@@ -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
);
else
return
VK_SUCCESS
;
}
else
{
*
display
=
VK_NULL_HANDLE
;
return
VK_SUCCESS
;
return
VK_ERROR_INITIALIZATION_FAILED
;
}
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment