Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rokups committed Jun 16, 2017
1 parent 560b9e7 commit 5fc049f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Atomic/UI/SystemUI/DebugHud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ void DebugHud::RenderUi(StringHash eventType, VariantMap& eventData)
profilerOutput_ = "Metrics subsystem not found";
}
auto size = ImGui::CalcTextSize(profilerOutput_.CString());
sizeProfiler_ = IntVector2(size.x + 20, size.y + 20);
posProfiler_ = WithinExtents({-(size.x + 20), 0});
sizeProfiler_ = IntVector2((int)size.x + 20, (int)size.y + 20);
posProfiler_ = WithinExtents({-((int)size.x + 20), 0});
}
ImGui::Text(profilerOutput_.CString());
ImGui::TextUnformatted(profilerOutput_.CString());
}
ImGui::End();
}
Expand Down

0 comments on commit 5fc049f

Please sign in to comment.