diff options
author | chai <chaifix@163.com> | 2018-10-16 20:18:42 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-16 20:18:42 +0800 |
commit | 0fc4b3ad5f2ac8d5c0588f61c0cbed4349ee1430 (patch) | |
tree | 535b2dc55a3f12d36d55cb3cf071d40da7e5576f /src/lua/modules/graphics/graphics.cpp | |
parent | be59ac06cbcd60895e25f2e7d76846ee3e6a0d92 (diff) |
*misc
Diffstat (limited to 'src/lua/modules/graphics/graphics.cpp')
-rw-r--r-- | src/lua/modules/graphics/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/graphics/graphics.cpp b/src/lua/modules/graphics/graphics.cpp index 2963fa9..4ef2b56 100644 --- a/src/lua/modules/graphics/graphics.cpp +++ b/src/lua/modules/graphics/graphics.cpp @@ -412,7 +412,7 @@ namespace lua if (luax_gettop(L) == 4) context.curRenderColor.a = luax_checknumber(L, 4); else - context.curClearColor.a = 255; + context.curRenderColor.a = 255; glColor4f(context.curRenderColor.r / 255.f, context.curRenderColor.g / 255.f, context.curRenderColor.b / 255.f, |