mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Use uint32_t instead of int64_t for swapchain format
This commit is contained in:
parent
afb12a4c5d
commit
b727aa9df7
|
@ -498,7 +498,7 @@ comp_swapchain_create_init(struct comp_swapchain *sc,
|
|||
{
|
||||
VkResult ret;
|
||||
|
||||
VK_DEBUG(vk, "CREATE %p %" PRIu32 "x%" PRIu32 " %s (%" PRId64 ")", //
|
||||
VK_DEBUG(vk, "CREATE %p %" PRIu32 "x%" PRIu32 " %s (%" PRIu32 ")", //
|
||||
(void *)sc, //
|
||||
info->width, info->height, //
|
||||
vk_format_string(info->format), info->format);
|
||||
|
@ -560,7 +560,7 @@ comp_swapchain_import_init(struct comp_swapchain *sc,
|
|||
{
|
||||
VkResult ret;
|
||||
|
||||
VK_DEBUG(vk, "IMPORT %p %" PRIu32 "x%" PRIu32 " %s (%" PRId64 ")", //
|
||||
VK_DEBUG(vk, "IMPORT %p %" PRIu32 "x%" PRIu32 " %s (%" PRIu32 ")", //
|
||||
(void *)sc, //
|
||||
info->width, info->height, //
|
||||
vk_format_string(info->format), info->format);
|
||||
|
|
|
@ -807,7 +807,7 @@ struct xrt_swapchain_create_info
|
|||
{
|
||||
enum xrt_swapchain_create_flags create;
|
||||
enum xrt_swapchain_usage_bits bits;
|
||||
int64_t format;
|
||||
uint32_t format;
|
||||
uint32_t sample_count;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
|
|
Loading…
Reference in a new issue