mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Fix love.graphics.circle (thanks xenthral!)
--HG-- branch : minor
This commit is contained in:
@@ -1136,7 +1136,7 @@ void Graphics::ellipse(DrawMode mode, float x, float y, float a, float b, int po
|
|||||||
|
|
||||||
coords[points] = coords[0];
|
coords[points] = coords[0];
|
||||||
|
|
||||||
polygon(mode, coords, (points + 1) * 2);
|
polygon(mode, coords, points + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::ellipse(DrawMode mode, float x, float y, float a, float b)
|
void Graphics::ellipse(DrawMode mode, float x, float y, float a, float b)
|
||||||
|
|||||||
Reference in New Issue
Block a user