love-loader/ll-min.lua

24 lines
374 B
Lua
Raw Permalink Normal View History

2022-04-28 18:35:21 +00:00
-- minimal Love Loader API
if not llUsed then
COLDIV = love.getVersion() == 0 and 1 or 255
function love.resize(x, y)
W, H = x, y
if resize then resize(W, H) end
collectgarbage 'collect' -- because new font isn't clears
end
love.resize(love.graphics.getDimensions())
function llHome()
love.event.push('quit')
end
function love.event.quit()
llHome()
end
end