From e375523d808ce3b525cb6e1e5ccef28ab7b50234 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 27 Jan 2021 14:03:27 +0000 Subject: [PATCH] c/main: Also print format when debugging swapchain creation --- src/xrt/compositor/main/comp_swapchain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xrt/compositor/main/comp_swapchain.c b/src/xrt/compositor/main/comp_swapchain.c index b2c405a4e..71fd08b91 100644 --- a/src/xrt/compositor/main/comp_swapchain.c +++ b/src/xrt/compositor/main/comp_swapchain.c @@ -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);