Accomodate API change in love 0.10.0

love.graphics.point was replaced by love.graphics.points
This commit is contained in:
Matthias Richter 2021-09-07 13:45:05 +02:00
parent 9a05518300
commit a9261b83fa

View File

@ -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