mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Fixed the background color for the error screen, and updated LodePNG to the latest version.
--HG-- branch : minor
This commit is contained in:
@@ -1575,7 +1575,7 @@ function love.errhand(msg)
|
||||
|
||||
local trace = debug.traceback()
|
||||
|
||||
love.graphics.clear()
|
||||
love.graphics.clear(love.graphics.getBackgroundColor())
|
||||
love.graphics.origin()
|
||||
|
||||
local err = {}
|
||||
@@ -1597,7 +1597,7 @@ function love.errhand(msg)
|
||||
|
||||
local function draw()
|
||||
local pos = love.window.toPixels(70)
|
||||
love.graphics.clear()
|
||||
love.graphics.clear(love.graphics.getBackgroundColor())
|
||||
love.graphics.printf(p, pos, pos, love.graphics.getWidth() - pos)
|
||||
love.graphics.present()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user