mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
VulkanQueueRunner: Fix some uninitialized struct members (not sure if it has any effect)
This commit is contained in:
parent
288fe3adeb
commit
8e7d2109fe
1 changed files with 1 additions and 1 deletions
|
@ -1585,7 +1585,7 @@ void VulkanQueueRunner::PerformReadback(const VKRStep &step, VkCommandBuffer cmd
|
|||
|
||||
void VulkanQueueRunner::PerformReadbackImage(const VKRStep &step, VkCommandBuffer cmd) {
|
||||
// TODO: Clean this up - just reusing `SetupTransitionToTransferSrc`.
|
||||
VKRImage srcImage;
|
||||
VKRImage srcImage{};
|
||||
srcImage.image = step.readback_image.image;
|
||||
srcImage.layout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue