Fix background blending sometimes setting alpha to zero in 32bpp modes
Detail: s/Blending - blend_putdata_32bpp contains an optimisation to avoid reading the screen pixel if the text pixel is fully opaque. However this means that the source alpha can't be preserved, going against the rules set out in the comment preceeding setblendingdata (and in reality, the alpha channel would be set to zero). Fix this by introducing a new blend_putdata_32bppA variant which always reads from the screen, ensuring the alpha channel can be preserved. Admin: Tested on Raspberry Pi 3B Hardware overlays underneath the desktop are no longer visible through the zero-alpha font pixels Version 3.80. Tagged as 'Manager-3_80'
Showing
Please register or sign in to comment