From 328443178516495ad94b66ca450937d4021a4daf Mon Sep 17 00:00:00 2001 From: Ali Abdel-Qader Date: Wed, 28 Oct 2020 22:30:15 -0400 Subject: [PATCH] change 'frameCount' to be atomic --- client/src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.h b/client/src/main.h index 851e49e2..1668420d 100644 --- a/client/src/main.h +++ b/client/src/main.h @@ -105,7 +105,7 @@ struct AppState atomic_uint_least64_t frameTime; uint64_t lastFrameTime; uint64_t renderTime; - uint64_t frameCount; + atomic_uint_least64_t frameCount; uint64_t renderCount;