hotfix for graph rendering
This commit is contained in:
parent
700e01cc1d
commit
4728a81e02
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue