mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 19:38:10 +00:00
[client] app: correct FPS to use an actual per second value
This commit is contained in:
@@ -103,8 +103,10 @@ struct AppState
|
||||
bool lastRenderTimeValid;
|
||||
RingBuffer renderTimings;
|
||||
RingBuffer frameTimings;
|
||||
float renderTimeTotal;
|
||||
float frameTimeTotal;
|
||||
|
||||
atomic_uint_least64_t renderTime;
|
||||
atomic_uint_least64_t renderCount, frameCount;
|
||||
_Atomic(float) fps, ups;
|
||||
|
||||
uint64_t resizeTimeout;
|
||||
bool resizeDone;
|
||||
|
Reference in New Issue
Block a user