Browse Source

Fix love.graphics.circle (thanks xenthral!)

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
d578c35f4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/Graphics.cpp

+ 1 - 1
src/modules/graphics/Graphics.cpp

@@ -1136,7 +1136,7 @@ void Graphics::ellipse(DrawMode mode, float x, float y, float a, float b, int po
 
 	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)