#4455 Division by zero in updateFrameStats

master
Andrey Kleshchev 2025-07-28 19:58:57 +03:00 committed by Andrey Kleshchev
parent a588addc68
commit 288bce100d
1 changed files with 3 additions and 3 deletions

View File

@ -277,9 +277,9 @@ private:
F64Seconds mLastTimeDiff; // used for time stat updates
F64Seconds mTotalFrametimeJitter;
U32 mFrameJitterEvents;
U32 mFrameJitterEventsLastMinute;
U32 mEventMinutes;
U32 mFrameJitterEvents = 0;
U32 mFrameJitterEventsLastMinute = 0;
U32 mEventMinutes = 0;
F64Seconds mTotalTime;
F64Seconds mLastFrameTimeSample; // used for frame time stats