aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules')
-rw-r--r--src/lua/modules/graphics/graphics.cpp2
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,