aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/scripts/graphics/graphics.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-26 20:35:32 +0800
committerchai <chaifix@163.com>2018-12-26 20:35:32 +0800
commit9e13e3febeda9e7a0587fcb56422b9d6a8330c91 (patch)
treeef64fcea5be87710f2ef92e380a932c6bb71a737 /src/libjin-lua/scripts/graphics/graphics.lua
parent74e76362dadd38c5a5231a4630c093efdd0febfd (diff)
*blend
Diffstat (limited to 'src/libjin-lua/scripts/graphics/graphics.lua')
-rw-r--r--src/libjin-lua/scripts/graphics/graphics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libjin-lua/scripts/graphics/graphics.lua b/src/libjin-lua/scripts/graphics/graphics.lua
index 423de74..9460f2b 100644
--- a/src/libjin-lua/scripts/graphics/graphics.lua
+++ b/src/libjin-lua/scripts/graphics/graphics.lua
@@ -155,7 +155,7 @@ end
-- Reset all attributes to default value.
jg.reset = function()
jg.setColor(255, 255, 255, 255)
- jg.setClearColor(0, 0, 0, 255)
+ jg.setClearColor(0, 0, 0, 0)
jg.clear()
jg.unsetFont()
jg.unuseShader()