From 4956477f6386e0a6ecb967f0afe2b55e1dd5f3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 15 Jan 2024 12:35:04 +0100 Subject: [PATCH] Paranoia --- Core/FrameTiming.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/FrameTiming.cpp b/Core/FrameTiming.cpp index f926cae095..10a29f044b 100644 --- a/Core/FrameTiming.cpp +++ b/Core/FrameTiming.cpp @@ -74,6 +74,7 @@ void FrameTiming::PostSubmit() { WaitUntil(time_now_d(), waitUntil_); if (curTimePtr_) { *curTimePtr_ = waitUntil_; + curTimePtr_ = nullptr; } waitUntil_ = 0.0; }