PVS V501: comparing number with itself
I assume the intent was the same as in other similar functions above. Change-Id: I887cd73d846680a5a5ec5c90f678ad4b12122eb3 Reviewed-on: https://review.haiku-os.org/c/1655 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
fd97a8c7fe
commit
b0890e034b
@ -895,9 +895,9 @@ namespace agg
|
||||
if(fg[3] < 0) fg[3] = 0;
|
||||
|
||||
if(fg[order_type::A] > base_mask) fg[order_type::A] = base_mask;
|
||||
if(fg[order_type::R] > fg[order_type::R]) fg[order_type::R] = fg[order_type::R];
|
||||
if(fg[order_type::G] > fg[order_type::G]) fg[order_type::G] = fg[order_type::G];
|
||||
if(fg[order_type::B] > fg[order_type::B]) fg[order_type::B] = fg[order_type::B];
|
||||
if(fg[order_type::R] > fg[order_type::A]) fg[order_type::R] = fg[order_type::A];
|
||||
if(fg[order_type::G] > fg[order_type::A]) fg[order_type::G] = fg[order_type::A];
|
||||
if(fg[order_type::B] > fg[order_type::A]) fg[order_type::B] = fg[order_type::A];
|
||||
|
||||
span->r = (value_type)fg[order_type::R];
|
||||
span->g = (value_type)fg[order_type::G];
|
||||
|
Loading…
Reference in New Issue
Block a user