Fix alpha blending when neither target 1 or target 2 are set

This commit is contained in:
Jeffrey Pfau 2013-04-27 03:09:23 -07:00
parent 2e78381e55
commit fd5661e941
1 changed files with 1 additions and 1 deletions

View File

@ -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) {