ui_cpu: clang lied...

gcc caught
This commit is contained in:
Alastair Poole 2020-09-08 22:38:33 +01:00
parent 5bef24447c
commit 4ac8359015
1 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ _core_alpha(int percent, int fr, int fr_max, int fr_min)
r = (percent / 100.0) * 0xff;
b = fade * 0xff;
RGB_VALID(r);
RGB_VALID(b);
r = RGB_VALID(r);
b = RGB_VALID(b);
}
color = (a << 24) + (r << 16) + (g << 8) + b;