Updated ImGui.
This commit is contained in:
parent
fb4cfd473c
commit
78da1163c2
3
3rdparty/dear-imgui/imgui_draw.cpp
vendored
3
3rdparty/dear-imgui/imgui_draw.cpp
vendored
@ -822,6 +822,9 @@ void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32
|
|||||||
|
|
||||||
void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col)
|
void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col)
|
||||||
{
|
{
|
||||||
|
if (points_count < 3)
|
||||||
|
return;
|
||||||
|
|
||||||
const ImVec2 uv = _Data->TexUvWhitePixel;
|
const ImVec2 uv = _Data->TexUvWhitePixel;
|
||||||
|
|
||||||
if (Flags & ImDrawListFlags_AntiAliasedFill)
|
if (Flags & ImDrawListFlags_AntiAliasedFill)
|
||||||
|
Loading…
Reference in New Issue
Block a user