mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
c/main: Print swapchain formats on debug
This commit is contained in:
parent
ee23b6244c
commit
0984cfe9e1
|
@ -238,8 +238,8 @@ find_surface_format(struct comp_target_swapchain *cts, VkSurfaceKHR surface, VkS
|
|||
|
||||
// Dump formats
|
||||
for (uint32_t i = 0; i < format_count; i++) {
|
||||
COMP_SPEW(cts->base.c, "VkSurfaceFormatKHR: %i [%s, %s]", i, vk_format_string(formats[i].format),
|
||||
vk_color_space_string(formats[i].colorSpace));
|
||||
COMP_DEBUG(cts->base.c, "VkSurfaceFormatKHR: %i [%s, %s]", i, vk_format_string(formats[i].format),
|
||||
vk_color_space_string(formats[i].colorSpace));
|
||||
}
|
||||
|
||||
VkSurfaceFormatKHR *formats_for_colorspace = NULL;
|
||||
|
|
Loading…
Reference in a new issue