mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-13 05:01:24 -07:00
Code analysis pass
This commit is contained in:
@@ -714,9 +714,9 @@ void FCogEngineWindow_Plots::RenderEventTooltip(const FCogDebugPlotEvent* Hovere
|
||||
ImGui::Text("Frames");
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("%d [%d-%d]",
|
||||
(int32)(ActualEndFrame - HoveredEvent->StartFrame),
|
||||
(int32)(HoveredEvent->StartFrame % 1000),
|
||||
(int32)(ActualEndFrame % 1000));
|
||||
static_cast<int32>(ActualEndFrame - HoveredEvent->StartFrame),
|
||||
static_cast<int32>(HoveredEvent->StartFrame % 1000),
|
||||
static_cast<int32>(ActualEndFrame % 1000));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -724,7 +724,7 @@ void FCogEngineWindow_Plots::RenderEventTooltip(const FCogDebugPlotEvent* Hovere
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("Frame");
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("%d", (int32)(HoveredEvent->StartFrame % 1000));
|
||||
ImGui::Text("%d", static_cast<int32>(HoveredEvent->StartFrame % 1000));
|
||||
}
|
||||
|
||||
//------------------------
|
||||
|
||||
Reference in New Issue
Block a user