Try fixing filling arbitrary polygons

This commit is contained in:
CasualPokePlayer 2024-06-01 15:16:20 -07:00
parent bc9f4afe76
commit f13f69b1ed
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ namespace BizHawk.Bizware.Graphics
var vectorPoints = Array.ConvertAll(points, static p => p.ToVector());
fixed (Vector2* p = vectorPoints)
{
_imGuiDrawList.AddConvexPolyFilled(
_imGuiDrawList.AddConcavePolyFilled(
points: ref *p,
num_points: vectorPoints.Length,
col: (uint)color.ToArgb());