mirror of https://github.com/encounter/SDL.git
Update METAL backend: fix a typo in drawline
This commit is contained in:
parent
9eab5195fe
commit
5828cc415a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue