Added black backdrop to debug info.
This commit is contained in:
3
main.lua
3
main.lua
@@ -88,6 +88,9 @@ function love.draw()
|
||||
Fade:draw()
|
||||
|
||||
if Debug then
|
||||
love.graphics.setColor(0, 0, 0)
|
||||
love.graphics.rectangle('fill', 0, 0, 140, 40)
|
||||
love.graphics.setColor()
|
||||
love.graphics.print(string.format('OS: %s', love.system.getOS()), 5, 5)
|
||||
love.graphics.print(string.format('Love version: %s', love.getVersion()), 5, 15)
|
||||
love.graphics.print(string.format('Memory usage: %s KiB', love.system.getMemUsage()), 5, 25)
|
||||
|
||||
Reference in New Issue
Block a user