mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Color values in love's APIs are now in the range of [0, 1] rather than [0, 255].
--HG-- branch : minor
This commit is contained in:
@@ -600,8 +600,8 @@ function love.errhand(msg)
|
||||
love.graphics.reset()
|
||||
local font = love.graphics.setNewFont(math.floor(love.window.toPixels(14)))
|
||||
|
||||
love.graphics.setBackgroundColor(89, 157, 220)
|
||||
love.graphics.setColor(255, 255, 255, 255)
|
||||
love.graphics.setBackgroundColor(89/255, 157/255, 220/255)
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
|
||||
local trace = debug.traceback()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user