mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Fix warnings
This commit is contained in:
parent
ea720963cf
commit
2a04c2a7bb
@ -7363,14 +7363,14 @@ void ImDrawList::ArcTo(const ImVec2& centre, float radius, float amin, float ama
|
||||
|
||||
void ImDrawList::Fill(ImU32 col)
|
||||
{
|
||||
AddConvexPolyFilled(&path[0], path.size(), col);
|
||||
AddConvexPolyFilled(&path[0], (int)path.size(), col);
|
||||
ClearPath();
|
||||
}
|
||||
|
||||
void ImDrawList::Stroke(ImU32 col, bool closed)
|
||||
{
|
||||
// Remove duplicates
|
||||
AddPolyline(&path[0], path.size(), col, closed);
|
||||
AddPolyline(&path[0], (int)path.size(), col, closed);
|
||||
ClearPath();
|
||||
}
|
||||
|
||||
@ -9270,7 +9270,7 @@ void ImGui::ShowTestWindow(bool* opened)
|
||||
ImGui::SameLine();
|
||||
|
||||
ImGui::PushID("set2");
|
||||
for (size_t i = 0; i < 4; i++)
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
if (i > 0) ImGui::SameLine(0, 4);
|
||||
ImGui::PushID(i);
|
||||
|
Loading…
Reference in New Issue
Block a user