mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 17:01:07 +00:00
Rename color.unpackRgba to color.unpackRgb
This commit is contained in:
parent
126fba4ddb
commit
2e820ca83d
1 changed files with 2 additions and 2 deletions
|
@ -422,7 +422,7 @@ static int lib_colorPackRgba(lua_State *L)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int lib_colorUnpackRgba(lua_State *L)
|
||||
static int lib_colorUnpackRgb(lua_State *L)
|
||||
{
|
||||
UINT8 rgba[4];
|
||||
|
||||
|
@ -445,7 +445,7 @@ static luaL_Reg color_lib[] = {
|
|||
{"rgbToHex", lib_colorRgbToHex},
|
||||
{"packRgb", lib_colorPackRgb},
|
||||
{"packRgba", lib_colorPackRgba},
|
||||
{"unpackRgba", lib_colorUnpackRgba},
|
||||
{"unpackRgb", lib_colorUnpackRgb},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue