Skip to content

compositor: fix off-by-1 error in blending ARGB

Use a more naive blend formulation that avoids off-by-one errors at the 0x00 and 0xff alpha endpoints.

Fixes #810

This simpler formulation of alpha blending adds an extra multiply into the loop, but it doesn't seem to affect performance much on modern hardware.

Merge request reports