i would like to draw a polygon in SDL. The number of edges will be determined by the program at run time. Can anyone help me with this request?
It's not native SDL, but there's a library sdl_gfx which has a filledPolygonColour function.
filledPolygonColour