wiiu/render: Fix SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA

This commit is contained in:
GaryOderNichts 2022-10-06 22:51:42 +02:00 committed by Dave Murphy
parent 2b0fd8fa1c
commit e236fb5d2e
No known key found for this signature in database
GPG Key ID: F7FD5492264BB9D0

View File

@ -339,7 +339,7 @@ static inline GX2BlendMode WIIU_SDL_GetBlendMode(SDL_BlendFactor factor)
case SDL_BLENDFACTOR_DST_ALPHA:
return GX2_BLEND_MODE_DST_ALPHA;
case SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA:
return GX2_BLEND_MODE_INV_DST_COLOR;
return GX2_BLEND_MODE_INV_DST_ALPHA;
default:
return -1;
}