switch to microseconds

This commit is contained in:
ohyzha
2024-08-27 09:26:10 +03:00
parent 32ffd21076
commit 0fe28f4759
2 changed files with 5 additions and 13 deletions

View File

@@ -37,8 +37,8 @@ namespace OpenVulkano
RenderAPI::RenderApi renderApi;
bool paused = false, running = false;
float fpsTimer = 0, avgFps = 0, avgFrameTime = 0;
uint64_t frameCount = 0, lastFrameCount = 0, fpsCapRemainder = 0;
std::chrono::milliseconds cappedFrameTime = std::chrono::milliseconds(0);
uint64_t frameCount = 0, lastFrameCount = 0;
std::chrono::microseconds cappedFrameTime = std::chrono::microseconds(0);
Timer frameTimer;
std::string windowTitleFormat;
Input::InputManager* inputManager;