add c# debugging support

This commit is contained in:
2025-10-26 16:08:38 +08:00
parent 486b423343
commit c5a88ac5e3
2 changed files with 46 additions and 5 deletions

View File

@ -320,7 +320,7 @@ namespace Hazel
static float fpsRefreshTime = 0.0f;
static float displayedFPS = 0;
float currentTime = ImGui::GetTime();
float currentTime = static_cast<float>(ImGui::GetTime());
// 每秒更新一次要显示的FPS
if (currentTime - fpsRefreshTime >= 1.0f)