change default filter to linear for non-textures

This commit is contained in:
jill 2021-09-19 14:25:23 +03:00
parent fd30c294b0
commit 7aeb9afb89

View file

@ -60,6 +60,9 @@ function love.draw()
local sw, sh = love.graphics.getDimensions()
local mx, my = love.mouse.getPosition()
-- this is fine to do since all textures are already loaded with nearest
love.graphics.setDefaultFilter('linear', 'linear')
love.graphics.setLineWidth(2)
love.graphics.setColor(0.09, 0.09, 0.12, 1)