c/main: Also print format when debugging swapchain creation

This commit is contained in:
Jakob Bornecrantz 2021-01-27 14:03:27 +00:00
parent b3592f112c
commit e375523d80

View file

@ -301,7 +301,9 @@ comp_swapchain_create(struct xrt_compositor *xc,
struct comp_swapchain *sc = alloc_and_set_funcs(c, num_images);
COMP_DEBUG(c, "CREATE %p %dx%d", (void *)sc, info->width, info->height);
COMP_DEBUG(c, "CREATE %p %dx%d %s", (void *)sc, //
info->width, info->height, //
vk_color_format_string(info->format));
// Use the image helper to allocate the images.
ret = vk_ic_allocate(&c->vk, info, num_images, &sc->vkic);