mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
VulkanQueueRunner: Fix some uninitialized struct members (not sure if it has any effect)
This commit is contained in:
1 parent
288fe3adeb
commit
8e7d2109fe
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user