From 0fc4b3ad5f2ac8d5c0588f61c0cbed4349ee1430 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 16 Oct 2018 20:18:42 +0800 Subject: *misc --- src/lua/modules/graphics/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/modules/graphics/graphics.cpp') 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, -- cgit v1.1-26-g67d0