Sfoglia il codice sorgente

vk_staging_buffer_pool: Initialize last epoch to zero

Rodrigo Locatti 6 anni fa
parent
commit
f2c61bbe13
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/video_core/renderer_vulkan/vk_staging_buffer_pool.h

+ 1 - 1
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 {