show the renderer name in the no-game's title

This commit is contained in:
Alex Szpakowski
2020-07-29 19:42:38 -03:00
parent a8c879f3bf
commit 5b4de2308d
2 changed files with 11 additions and 0 deletions
+3
View File
@@ -3166,6 +3166,9 @@ function love.nogame()
end
function love.load()
local renderername = love.graphics.getRendererInfo()
love.window.setTitle(love.window.getTitle() .. " - " .. renderername)
love.graphics.setBackgroundColor(43/255, 165/255, 223/255)
love.physics.setMeter(64)