comp: Improve Windows errors.

This commit is contained in:
Ryan Pavlik 2021-03-30 15:01:44 -05:00
parent 942091c10d
commit d4c352ef69

View file

@ -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);
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;
}