change 'frameCount' to be atomic

This commit is contained in:
Ali Abdel-Qader 2020-10-28 22:30:15 -04:00 committed by Geoffrey McRae
parent d42581027c
commit 3284431785

View File

@ -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;