mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
c/main: Also print format when debugging swapchain creation
This commit is contained in:
parent
b3592f112c
commit
e375523d80
|
@ -301,7 +301,9 @@ comp_swapchain_create(struct xrt_compositor *xc,
|
||||||
|
|
||||||
struct comp_swapchain *sc = alloc_and_set_funcs(c, num_images);
|
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.
|
// Use the image helper to allocate the images.
|
||||||
ret = vk_ic_allocate(&c->vk, info, num_images, &sc->vkic);
|
ret = vk_ic_allocate(&c->vk, info, num_images, &sc->vkic);
|
||||||
|
|
Loading…
Reference in a new issue