Minor tidying up following merge BGRA color PR (#844)

This commit is contained in:
ocornut
2016-10-01 14:29:12 +02:00
parent eb0382a1c1
commit 68c81739bf
3 changed files with 21 additions and 27 deletions

View File

@ -602,7 +602,7 @@ void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_coun
{
// Anti-aliased Fill
const float AA_SIZE = 1.0f;
const ImU32 col_trans = col & IM_COL32(255, 255, 255, 0);
const ImU32 col_trans = col & IM_COL32(255,255,255,0);
const int idx_count = (points_count-2)*3 + points_count*6;
const int vtx_count = (points_count*2);
PrimReserve(idx_count, vtx_count);