Fix narrowing warning for VkImageBlit taking int32_ts

This commit is contained in:
baldurk committed 2016-07-21 18:58:57 +02:00
1 parent f492ddab27
commit a9f5f84a76
1 file changed
+2 -2
+2 -2
View File
@@ -3003,11 +3003,11 @@ void VulkanReplay::FlipOutputWindow(uint64_t id)
VkImageBlit blit = {
{VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
{
{0, 0, 0}, {outw.width, outw.height, 1},
{0, 0, 0}, {(int32_t)outw.width, (int32_t)outw.height, 1},
},
{VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
{
{0, 0, 0}, {outw.width, outw.height, 1},
{0, 0, 0}, {(int32_t)outw.width, (int32_t)outw.height, 1},
},
};