partly import changes from tenfourfox: #651: M1761233 M1687303 M1633019 M1797336 M1799748 M1801102 (fb91afbb4)

This commit is contained in:
roytam1 2023-04-24 11:39:08 +08:00
commit ba3e46b173
4 changed files with 38 additions and 8 deletions

View file

@ -74,7 +74,7 @@ pixman_sample_floor_y (pixman_fixed_t y,
if (f < Y_FRAC_FIRST (n))
{
if (pixman_fixed_to_int (i) == 0x8000)
if (pixman_fixed_to_int (i) == 0xffff8000)
{
f = 0; /* saturate */
}