Skip to content

testsuite: Adapt color-matrix testcase

Benjamin Otte requested to merge wip/otte/for-main into main

Make it use an alpha value that is well defined, ie 0.4 instead of 0.5.

0.4 * 255 = 102 0.5 * 255 = 127.5

This avoids rounding issues where some math may cause the resulting alpha value to be 127, and some other math ends up with 128.

Merge request reports