mirror of https://github.com/mgba-emu/mgba.git
Fix alpha blending when neither target 1 or target 2 are set
This commit is contained in:
parent
2e78381e55
commit
fd5661e941
|
@ -310,7 +310,7 @@ static void _composite(struct GBAVideoSoftwareRenderer* renderer, int offset, ui
|
|||
renderer->flags[offset].finalized = 1;
|
||||
return;
|
||||
}
|
||||
if (renderer->blendEffect != BLEND_ALPHA || (!flags.target1 && !flags.target2)) {
|
||||
if (renderer->blendEffect != BLEND_ALPHA) {
|
||||
renderer->row[offset] = color;
|
||||
renderer->flags[offset].finalized = 1;
|
||||
} else if (renderer->blendEffect == BLEND_ALPHA) {
|
||||
|
|
Loading…
Reference in New Issue