summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2019-12-29 19:19:43 -0300
committerGravatar GitHub2019-12-29 19:19:43 -0300
commitf2c61bbe13aa2d42505901573bbb4d1f23036d91 (patch)
tree967dd114014ce4f9b0c00a417ca466126d8940fd /src
parentvk_staging_buffer_pool: Add a staging pool for temporary operations (diff)
downloadyuzu-f2c61bbe13aa2d42505901573bbb4d1f23036d91.tar.gz
yuzu-f2c61bbe13aa2d42505901573bbb4d1f23036d91.tar.xz
yuzu-f2c61bbe13aa2d42505901573bbb4d1f23036d91.zip
vk_staging_buffer_pool: Initialize last epoch to zero
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_staging_buffer_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h
index 4530749f0..02310375f 100644
--- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h
+++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h
@@ -46,7 +46,7 @@ private:
46 46
47 std::unique_ptr<VKBuffer> buffer; 47 std::unique_ptr<VKBuffer> buffer;
48 VKFenceWatch watch; 48 VKFenceWatch watch;
49 u64 last_epoch; 49 u64 last_epoch = 0;
50 }; 50 };
51 51
52 struct StagingBuffers final { 52 struct StagingBuffers final {