made frame count atomic

This commit is contained in:
Jack Andersen
2015-07-26 10:55:17 -10:00
parent c61ff288b9
commit 34f2f028a9
2 changed files with 11 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ extern std::atomic_size_t ErrorCount;
* The default value is zero, the app is responsible for updating it
* within its main loop.
*/
extern uint64_t FrameIndex;
extern std::atomic_uint_fast64_t FrameIndex;
/**
* @brief Restore centralized logger vector to default state (silent operation)