add c# debugging support
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user