mirror of https://github.com/stella-emu/stella.git
Never use alpha blending for source surfaces in QIS.
This commit is contained in:
parent
0c44764693
commit
667ea467fc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue