Open RattleSN4K3 opened 8 years ago
this is a known issue which exists since the porting to SDL2. I think this is caused by somewhere in the code having a wrong BGRA / RBGA / BGR / RGB format or wrong endian.
It exists in 1.1 as well. Not related to SDL2 but the used blending code (and all that stuff). I've tested it with a simple image with a round corner without alpha (sharp edges) and a corner with a smooth edge with alpha. I could get the sharp edge fixed with changing the scaling method (from linear to nearest) but the alpha channel problem stays. Haven't investigate into the high mathematical equations blending two images.
uh, then I was talking of a different issue. never mind then.
The button images (and likely all other images with an alpha channel). are not properly rendered with correct alpha blending. This can be noticed in the Deluxe theme.
800x600
1920x1080
It could be the alpha blending or the mimap scaling (which is default Linear). Tried somehting but nothing relly worked out (see
UTexture.DrawTexture(..)
.