make C and vector path for composite match
one was <, one was <= for HARD_LIGHT no effect on result, but it's better if they are consistent
This commit is contained in:
parent
af23e9f06c
commit
cb1927e1b7
@ -896,7 +896,7 @@ vips_composite_base_blend3( VipsCompositeSequence *seq,
|
||||
break;
|
||||
|
||||
case VIPS_BLEND_MODE_HARD_LIGHT:
|
||||
f = A < 0.5 ?
|
||||
f = A <= 0.5 ?
|
||||
2 * A * B :
|
||||
1 - 2 * (1 - A) * (1 - B);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user