summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2024-02-28 10:20:03 -0500
committerLioncash <mai.iam2048@gmail.com>2024-02-28 10:21:08 -0500
commit7bf77a56f48ebc42fd94eac9a7f557bbc093f12a (patch)
treea790dd818637e3599fac0163acac162c82f6c02a /Source/Core
parent5a81916ee9b4197c421937e8d8096cbd22c2820d (diff)
VertexManagerBase: Initialize m_ticks_elapsed on construction
Ensures that this always has a deterministic value on construction like everything else in the class.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.h b/Source/Core/VideoCommon/VertexManagerBase.h
index 50032419bd..c1248972da 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.h
+++ b/Source/Core/VideoCommon/VertexManagerBase.h
@@ -247,7 +247,7 @@ private:
bool m_allow_background_execution = true;
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_after_present_event;