Fix "negative" colors fading in wrong

This commit is contained in:
tterrag
2017-05-25 22:29:36 -04:00
committed by GitHub
parent 9d14741050
commit 5f2130bea0

View File

@@ -129,7 +129,7 @@ public class Blur {
public static int getBackgroundColor(boolean second) {
int color = second ? instance.colorSecond : instance.colorFirst;
int a = color >> 24;
int a = color >>> 24;
int r = (color >> 16) & 0xFF;
int b = (color >> 8) & 0xFF;
int g = color & 0xFF;