commit | ed0e2e76d849b72964abfba95390788cf992bfcf | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue Feb 08 16:35:14 2022 -0500 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Tue Feb 08 16:35:14 2022 -0500 |
tree | 8404535368ce0604a58f858827064a3e8f0e4024 | |
parent | 7c6b2f20b08a33b78b9e95cd77fda68aeedca02d [diff] |
[pshinter] Fix mask merging. We forgot to update the number of bits when merging a larger mask into a smaller one. This fix might have rendering effects. * src/pshinter/pshrec.c (ps_mask_table_merge): Inherit the number of bits from a larger mask. There is no need to zero unused bits, already zeroed during allocation. (ps_mask_clear_bit): Removed. (ps_mask_ensure): Minor.