mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Make sure fps counter values are initialized to zero
This commit is contained in:
@@ -248,7 +248,7 @@ namespace hex::plugin::builtin {
|
||||
}, nullptr);
|
||||
ImPlot::SetupAxisTicks(ImAxis_Y1, 0, largestFrameTime * 1.25F, 3);
|
||||
|
||||
static std::vector<double> values(100);
|
||||
static std::vector<double> values(100, 0.0);
|
||||
|
||||
values.push_back(ImHexApi::System::getLastFrameTime());
|
||||
if (values.size() > 100)
|
||||
|
||||
Reference in New Issue
Block a user