mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-20 05:38:35 +00:00
comp: Improve Windows errors.
This commit is contained in:
parent
942091c10d
commit
d4c352ef69
|
@ -126,7 +126,7 @@ comp_window_mswin_init_swapchain(struct comp_target *ct, uint32_t width, uint32_
|
||||||
|
|
||||||
ret = comp_window_mswin_create_surface(cwm, &cwm->base.surface.handle);
|
ret = comp_window_mswin_create_surface(cwm, &cwm->base.surface.handle);
|
||||||
if (ret != VK_SUCCESS) {
|
if (ret != VK_SUCCESS) {
|
||||||
COMP_ERROR(ct->c, "Failed to create surface!");
|
COMP_ERROR(ct->c, "Failed to create surface '%s'!", vk_result_string(ret));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue