mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Merged default into minor
--HG-- branch : minor
This commit is contained in:
@@ -1549,9 +1549,15 @@ function love.errhand(msg)
|
||||
end
|
||||
if love.audio then love.audio.stop() end
|
||||
love.graphics.reset()
|
||||
love.graphics.setBackgroundColor(89, 157, 220)
|
||||
local font = love.graphics.setNewFont(math.floor(14 * love.window.getPixelScale()))
|
||||
|
||||
local sRGB = select(3, love.window.getMode()).srgb
|
||||
if sRGB then
|
||||
love.graphics.setBackgroundColor(love.math.gammaToLinear(89, 157, 220))
|
||||
else
|
||||
love.graphics.setBackgroundColor(89, 157, 220)
|
||||
end
|
||||
|
||||
love.graphics.setColor(255, 255, 255, 255)
|
||||
|
||||
local trace = debug.traceback()
|
||||
|
||||
Reference in New Issue
Block a user