devkitPro / SDL

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

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

Closed mardy closed 5 months ago

mardy commented 5 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.