summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-12-29 19:19:43 -0300
committerGitHub <noreply@github.com>2019-12-29 19:19:43 -0300
commitf2c61bbe13aa2d42505901573bbb4d1f23036d91 (patch)
tree967dd114014ce4f9b0c00a417ca466126d8940fd /src
parent3813af2f3c4536e14950b95b8211788b9a6b243f (diff)
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:
std::unique_ptr<VKBuffer> buffer;
VKFenceWatch watch;
- u64 last_epoch;
+ u64 last_epoch = 0;
};
struct StagingBuffers final {