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:
Alex Szpakowski
2016-01-31 10:49:29 -04:00
parent 50087bd60e
commit ed933847f8
19 changed files with 126 additions and 144 deletions
+2 -2
View File
@@ -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()