Fixed pixelperfect
This commit is contained in:
parent
e20b62018a
commit
eec40d972b
2
main.lua
2
main.lua
@ -26,7 +26,7 @@ function love.load()
|
|||||||
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"
|
||||||
push:setupScreen(game.WIDTH, game.HEIGHT, w, h, {fullscreen = true,resizable = res, pixelperfect = OSTYPE~="Mobile"})
|
push:setupScreen(game.WIDTH, game.HEIGHT, w, h, {fullscreen = true,resizable = res, pixelperfect = game.OSTYPE~="Mobile"})
|
||||||
push:setBorderColor(0.161,0.157, 0.192,1)
|
push:setBorderColor(0.161,0.157, 0.192,1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user