hotfix for graph rendering

This commit is contained in:
jill 2021-09-20 06:33:51 +00:00
parent 700e01cc1d
commit 4728a81e02

View file

@ -99,7 +99,7 @@ function self.render()
-- polygone -- polygone
-- this isnt done with a polygon because else itd waste a Bunch of ram and i kinda, dont want to do that? -- this isnt done with a polygon because else itd waste a Bunch of ram and i kinda, dont want to do that?
love.graphics.setColor(1, 1, 1, 1) love.graphics.setColor(1, 1, 1, 1)
love.graphics.setScissor(x + margin, y + margin, math.abs(w - (margin * 2)), math.abs(h - (margin * 2))) love.graphics.setScissor(x + margin, y, math.abs(w - (margin * 2)), math.abs(h))
local last = (((graph[1] or 0) - 0.5) * zoome) + 0.5 local last = (((graph[1] or 0) - 0.5) * zoome) + 0.5
for gx = 1, quality - 1 do for gx = 1, quality - 1 do
local a = gx/quality local a = gx/quality