mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
a/vk: Enlarge buffer to fix warning
This commit is contained in:
parent
124c9ecf3f
commit
ae61287f4c
|
@ -468,7 +468,7 @@ select_preferred_device(struct vk_bundle *vk, VkPhysicalDevice *devices, uint32_
|
||||||
VkPhysicalDeviceProperties pdp;
|
VkPhysicalDeviceProperties pdp;
|
||||||
vk->vkGetPhysicalDeviceProperties(devices[i], &pdp);
|
vk->vkGetPhysicalDeviceProperties(devices[i], &pdp);
|
||||||
|
|
||||||
char title[20];
|
char title[32];
|
||||||
(void)snprintf(title, sizeof(title), "GPU index %u\n", i);
|
(void)snprintf(title, sizeof(title), "GPU index %u\n", i);
|
||||||
vk_print_device_info(vk, U_LOGGING_DEBUG, &pdp, i, title);
|
vk_print_device_info(vk, U_LOGGING_DEBUG, &pdp, i, title);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue