From a9261b83fa17b01e1ab5e410c896bc5c403485ee Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Tue, 7 Sep 2021 13:45:05 +0200 Subject: [PATCH] Accomodate API change in love 0.10.0 love.graphics.point was replaced by love.graphics.points --- shapes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shapes.lua b/shapes.lua index 98cf850..2c3b4af 100644 --- a/shapes.lua +++ b/shapes.lua @@ -423,7 +423,7 @@ function CircleShape:draw(mode, segments) end function PointShape:draw() - love.graphics.point(self:center()) + (love.graphics.points or love.graphics.point)(self:center()) end