Never use alpha blending for source surfaces in QIS.

This commit is contained in:
Christian Speckner 2023-08-30 22:40:52 +02:00
parent 0c44764693
commit 667ea467fc
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ void QisBlitter::recreateTexturesIfNecessary()
if (myAttributes.blending) {
const auto blendAlpha = static_cast<uInt8>(myAttributes.blendalpha * 2.55);
const std::array<SDL_Texture*, 3> textures = {
mySrcTexture, myIntermediateTexture, mySecondaryIntermedateTexture
const std::array<SDL_Texture*, 2> textures = {
myIntermediateTexture, mySecondaryIntermedateTexture
};
for (SDL_Texture* texture: textures) {
if (!texture) continue;