mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
wiiu/render: Fix SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA
This commit is contained in:
parent
2b0fd8fa1c
commit
e236fb5d2e
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user