diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2025-05-15 22:43:52 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2025-05-15 22:43:52 -0600 |
| commit | d155bacadb38b1ed96065da2ad7de4f65f687e96 (patch) | |
| tree | efeed3c5ff7496b9afeb36a2b82da51464af8920 /src/port/Engine.cpp | |
| parent | 8c81c2b141bdb38eb4fa20906df25bb060f7bd53 (diff) | |
Fixed slow fps
Diffstat (limited to 'src/port/Engine.cpp')
| -rw-r--r-- | src/port/Engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index debfad703..58e3920ea 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -388,6 +388,9 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) { wnd->SetMaximumFrameLatency(1); } RunCommands(commands, mtx_replacements); + + last_fps = fps; + last_update_rate = 2; } // Audio |
