From 8bd8c0eedee64028b2c59f60ac8f95bcdab8de38 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sat, 16 Oct 2021 15:15:44 -0400 Subject: [PATCH] Relocated call of `love.graphics.setDefaultFilter` to `love.load` --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 0a11db9..b761108 100644 --- a/main.lua +++ b/main.lua @@ -1,6 +1,7 @@ function love.load() math.randomseed(os.time()) highscores = {} + love.graphics.setDefaultFilter("linear", "nearest") require "load.rpc" require "load.graphics" require "load.fonts" @@ -63,7 +64,6 @@ function love.draw() love.graphics.push() -- get offset matrix - love.graphics.setDefaultFilter("linear", "nearest") local width = love.graphics.getWidth() local height = love.graphics.getHeight() local scale_factor = math.min(width / 640, height / 480)