From 737c977c9e124e42672d84c3aefcbdb9e703a369 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Fri, 28 Apr 2023 17:14:08 -0700 Subject: [PATCH] Messed it up again --- .../me/jellysquid/mods/sodium/client/util/color/ColorSRGB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/jellysquid/mods/sodium/client/util/color/ColorSRGB.java b/src/main/java/me/jellysquid/mods/sodium/client/util/color/ColorSRGB.java index 4945b80c14..d245e285b6 100644 --- a/src/main/java/me/jellysquid/mods/sodium/client/util/color/ColorSRGB.java +++ b/src/main/java/me/jellysquid/mods/sodium/client/util/color/ColorSRGB.java @@ -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)); } /**