f8b14bdb46
Scene items would incorrectly have pre-multiplied alpha when they were scaled with different scale filtering, when they were cropped, or when the item itself was a scene. This happens because the scene renders the items to a texture in those cases, and when they are rendered to a texture the blend function would be the default srcalpha/invsrcalpha blend function, which would cause alpha to become pre-multiplied in the texture's result rather than straight alpha. This changes the behavior to directly copy the color/alpha to the texture using the one/zero blend function instead, which makes the resulting texture straight alpha. (Note that you do not want to turn off the blend mode for the same result because certain sources can have custom drawing that may rely on blending being available) Related Issue: https://obsproject.com/mantis/view.php?id=954 Closes jp9000/obs-studio#966