mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
show the renderer name in the no-game's title
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user