···17401740 */
17411741DECLSPEC void SDLCALL GPU_Polygon(GPU_Target* target, unsigned int num_vertices, float* vertices, SDL_Color color);
1742174217431743-/*! Renders a colored polygon outline, optionally open or closed.
17431743+/*! Renders a colored sequence of line segments.
17441744 * \param target The destination render target
17451745 * \param num_vertices Number of vertices (x and y pairs)
17461746 * \param vertices An array of vertex positions stored as interlaced x and y coords, e.g. {x1, y1, x2, y2, ...}
17471747 * \param color The color of the shape to render
17481748- * \param open Skip last segment and draw an open polygon
17481748+ * \param close_loop Make a closed polygon by drawing a line at the end back to the start point
17491749 */
17501750-DECLSPEC void SDLCALL GPU_Polygon2(GPU_Target* target, unsigned int num_vertices, float* vertices, SDL_Color color, GPU_bool open);
17501750+DECLSPEC void SDLCALL GPU_Polyline(GPU_Target* target, unsigned int num_vertices, float* vertices, SDL_Color color, GPU_bool close_loop);
1751175117521752/*! Renders a colored filled polygon. The vertices are expected to define a convex polygon.
17531753 * \param target The destination render target