1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-12 10:11:00 +01:00

Fixed framerate counter averaging buffer size (shouldn't have been included in previous commit)

This commit is contained in:
ocornut 2015-06-18 17:45:11 -06:00
parent 26d2b361d1
commit 10b4fa44c1

View File

@ -1314,7 +1314,7 @@ struct ImGuiState
int LogAutoExpandMaxDepth;
// Misc
float FramerateSecPerFrame[10]; // calculate estimate of framerate for user
float FramerateSecPerFrame[120]; // calculate estimate of framerate for user
int FramerateSecPerFrameIdx;
float FramerateSecPerFrameAccum;
char TempBuffer[1024*3+1]; // temporary text buffer