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; int LogAutoExpandMaxDepth;
// Misc // Misc
float FramerateSecPerFrame[10]; // calculate estimate of framerate for user float FramerateSecPerFrame[120]; // calculate estimate of framerate for user
int FramerateSecPerFrameIdx; int FramerateSecPerFrameIdx;
float FramerateSecPerFrameAccum; float FramerateSecPerFrameAccum;
char TempBuffer[1024*3+1]; // temporary text buffer char TempBuffer[1024*3+1]; // temporary text buffer