Commit e375523d authored by Jakob Bornecrantz's avatar Jakob Bornecrantz
Browse files

c/main: Also print format when debugging swapchain creation

parent b3592f11
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment