vk_staging_buffer_pool: Initialize last epoch to zero

This commit is contained in:
Rodrigo Locatti 2019-12-29 19:19:43 -03:00 committed by GitHub
parent 3813af2f3c
commit f2c61bbe13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ private:
std::unique_ptr<VKBuffer> buffer; std::unique_ptr<VKBuffer> buffer;
VKFenceWatch watch; VKFenceWatch watch;
u64 last_epoch; u64 last_epoch = 0;
}; };
struct StagingBuffers final { struct StagingBuffers final {