summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorPiotr Dobrowolski <admin@tastycode.pl>2022-07-07 00:42:59 +0200
committerPiotr Dobrowolski <admin@tastycode.pl>2022-07-07 00:42:59 +0200
commitdfa3f53a03250414a5a78351b9d41aecd1cf5a69 (patch)
treea13b3172b93ebc0c4a467dfd2bd20d54d1f3695b /vendor
parent6c14716222e28b004861b3926560bf21d519fb00 (diff)
downloadlove2d-signage-dfa3f53a03250414a5a78351b9d41aecd1cf5a69.tar.gz
love2d-signage-dfa3f53a03250414a5a78351b9d41aecd1cf5a69.tar.bz2
love2d-signage-dfa3f53a03250414a5a78351b9d41aecd1cf5a69.tar.xz
love2d-signage-dfa3f53a03250414a5a78351b9d41aecd1cf5a69.zip
Fix setColor range for love 11+
Diffstat (limited to 'vendor')
-rw-r--r--vendor/push.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/push.lua b/vendor/push.lua
index 321ddca..cb1a947 100644
--- a/vendor/push.lua
+++ b/vendor/push.lua
@@ -74,7 +74,7 @@ function push:finish(shader)
love.graphics.setCanvas()
love.graphics.translate(self._OFFSET.x, self._OFFSET.y)
- love.graphics.setColor(255, 255, 255)
+ love.graphics.setColor(1.0, 1.0, 1.0)
love.graphics.setShader(shader or self._shader)
love.graphics.draw(self._canvas, 0, 0, 0, self._SCALE, self._SCALE)
love.graphics.setCanvas(self._canvas)