Skip to content

Commit

Permalink
Messed it up again
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Apr 29, 2023
1 parent d06a785 commit 737c977
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static float srgbToLinear(int c) {
* @param a The alpha-component in linear RGB space (0 to 255)
*/
public static int linearToSrgb(float r, float g, float b, int a) {
return ColorHelper.Argb.getArgb(a, linearToSrgb(r), linearToSrgb(g), linearToSrgb(b));
return ColorHelper.Abgr.getAbgr(a, linearToSrgb(b), linearToSrgb(g), linearToSrgb(r));
}

/**
Expand Down

0 comments on commit 737c977

Please sign in to comment.