mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Prevent 'may be used uninitialized' warning
This commit is contained in:
parent
611efea2bf
commit
32a6bd021c
@ -1593,6 +1593,13 @@ static void vulkan_readback(vk_t *vk)
|
||||
struct video_viewport vp;
|
||||
VkMemoryBarrier barrier;
|
||||
|
||||
vp.x = 0;
|
||||
vp.y = 0;
|
||||
vp.width = 0;
|
||||
vp.height = 0;
|
||||
vp.full_width = 0;
|
||||
vp.full_height = 0;
|
||||
|
||||
vulkan_viewport_info(vk, &vp);
|
||||
|
||||
region.bufferOffset = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user