Don't use pixel perfect scaling on mobile

This commit is contained in:
theo@manjaro 2022-03-04 15:13:18 +01:00
parent cc9409b20a
commit 49e17a199e

View File

@ -23,7 +23,6 @@ function love.load()
lg.setDefaultFilter("nearest") lg.setDefaultFilter("nearest")
if game.OS ~= "Horizon" then if game.OS ~= "Horizon" then
game:changesize(416,234) game:changesize(416,234)
if game.OSTYPE=="Mobile" then game:changesize(300,234) end
love.window.setTitle('Neutron') love.window.setTitle('Neutron')
w,h = love.window.getDesktopDimensions() w,h = love.window.getDesktopDimensions()
res = game.OSTYPE=="PC" res = game.OSTYPE=="PC"