mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 08:28:29 +00:00
Update METAL backend: fix a typo in drawline
This commit is contained in:
@@ -1142,7 +1142,7 @@ METAL_QueueDrawLines(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_
|
|||||||
angles. Maybe !!! FIXME for later, though. */
|
angles. Maybe !!! FIXME for later, though. */
|
||||||
|
|
||||||
points -= 2; /* update the last line. */
|
points -= 2; /* update the last line. */
|
||||||
verts -= (count * 2) - 2;
|
verts -= 2 + 4;
|
||||||
|
|
||||||
const float xstart = points[0].x;
|
const float xstart = points[0].x;
|
||||||
const float ystart = points[0].y;
|
const float ystart = points[0].y;
|
||||||
|
Reference in New Issue
Block a user