devkitPro / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
15 stars 12 forks source link

ogc: ignore source alpha with blend mode "none" #49

Closed mardy closed 9 months ago

mardy commented 9 months ago

Blend mode "None" means that the texture must be copied as-is, ignoring its alpha.

We also set the initial blending mode to invalid, to ensure that a blending mode will be set when it first gets requested.