mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Silence warning
This commit is contained in:
parent
23c84d3031
commit
6fc57765c3
@ -3343,7 +3343,7 @@ void vulkan_copy_staging_to_dynamic(vk_t *vk, VkCommandBuffer cmd,
|
|||||||
|
|
||||||
if (compute_upload)
|
if (compute_upload)
|
||||||
{
|
{
|
||||||
const uint32_t ubo[3] = { dynamic->width, dynamic->height, staging->stride / 4 /* in terms of u32 words */ };
|
const uint32_t ubo[3] = { dynamic->width, dynamic->height, (uint32_t)(staging->stride / 4) /* in terms of u32 words */ };
|
||||||
VkWriteDescriptorSet write = { VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET };
|
VkWriteDescriptorSet write = { VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET };
|
||||||
VkDescriptorBufferInfo buffer_info;
|
VkDescriptorBufferInfo buffer_info;
|
||||||
VkDescriptorImageInfo image_info;
|
VkDescriptorImageInfo image_info;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user