Fix build for some configurations on Windows.
Remove some unnecessary code in the DrawPolygonal() function.