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

docking
ocornut 10 years ago
parent 26d2b361d1
commit 10b4fa44c1

@ -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

Loading…
Cancel
Save