VertexManagerBase: Initialize m_ticks_elapsed on construction

Ensures that this always has a deterministic value on construction like
everything else in the class.
This commit is contained in:
Lioncash 2024-02-28 10:20:03 -05:00
parent 5a81916ee9
commit 7bf77a56f4

View File

@ -247,7 +247,7 @@ private:
bool m_allow_background_execution = true; bool m_allow_background_execution = true;
std::unique_ptr<CustomShaderCache> m_custom_shader_cache; std::unique_ptr<CustomShaderCache> m_custom_shader_cache;
u64 m_ticks_elapsed; u64 m_ticks_elapsed = 0;
Common::EventHook m_frame_end_event; Common::EventHook m_frame_end_event;
Common::EventHook m_after_present_event; Common::EventHook m_after_present_event;