Merge branch 'viewport' into docking

This commit is contained in:
omar
2018-09-26 21:35:09 +02:00
22 changed files with 129 additions and 67 deletions

View File

@ -843,6 +843,9 @@ void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32
void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col)
{
if (points_count < 3)
return;
const ImVec2 uv = _Data->TexUvWhitePixel;
if (Flags & ImDrawListFlags_AntiAliasedFill)