Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
2e820ca8
Commit
2e820ca8
authored
1 year ago
by
Lactozilla
Browse files
Options
Downloads
Patches
Plain Diff
Rename color.unpackRgba to color.unpackRgb
parent
126fba4d
No related branches found
No related tags found
2 merge requests
!2355
fix newer versions of mixerx
,
!2094
Lua colorlib
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lua_colorlib.c
+2
-2
2 additions, 2 deletions
src/lua_colorlib.c
with
2 additions
and
2 deletions
src/lua_colorlib.c
+
2
−
2
View file @
2e820ca8
...
@@ -422,7 +422,7 @@ static int lib_colorPackRgba(lua_State *L)
...
@@ -422,7 +422,7 @@ static int lib_colorPackRgba(lua_State *L)
return
1
;
return
1
;
}
}
static
int
lib_colorUnpackRgb
a
(
lua_State
*
L
)
static
int
lib_colorUnpackRgb
(
lua_State
*
L
)
{
{
UINT8
rgba
[
4
];
UINT8
rgba
[
4
];
...
@@ -445,7 +445,7 @@ static luaL_Reg color_lib[] = {
...
@@ -445,7 +445,7 @@ static luaL_Reg color_lib[] = {
{
"rgbToHex"
,
lib_colorRgbToHex
},
{
"rgbToHex"
,
lib_colorRgbToHex
},
{
"packRgb"
,
lib_colorPackRgb
},
{
"packRgb"
,
lib_colorPackRgb
},
{
"packRgba"
,
lib_colorPackRgba
},
{
"packRgba"
,
lib_colorPackRgba
},
{
"unpackRgb
a
"
,
lib_colorUnpackRgb
a
},
{
"unpackRgb"
,
lib_colorUnpackRgb
},
{
NULL
,
NULL
}
{
NULL
,
NULL
}
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment