change default filter to linear for non-textures
This commit is contained in:
parent
fd30c294b0
commit
7aeb9afb89
1 changed files with 3 additions and 0 deletions
3
main.lua
3
main.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue