Update METAL backend: fix a typo in drawline

This commit is contained in:
Sylvain 2021-03-16 21:54:27 +01:00 committed by Sylvain Becker
parent 9eab5195fe
commit 5828cc415a
1 changed files with 1 additions and 1 deletions
src/render/metal

View File

@ -1142,7 +1142,7 @@ METAL_QueueDrawLines(SDL_Renderer * renderer, SDL_RenderCommand *cmd, const SDL_
angles. Maybe !!! FIXME for later, though. */
points -= 2; /* update the last line. */
verts -= (count * 2) - 2;
verts -= 2 + 4;
const float xstart = points[0].x;
const float ystart = points[0].y;