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:
John Cupitt 2022-06-03 16:15:51 +01:00
parent af23e9f06c
commit cb1927e1b7
1 changed files with 1 additions and 1 deletions

View File

@ -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;