[SDL] Copy RGBA pixels directly to target texture without blending
stefanaicher1 at gmx.de
Sat Mar 18 15:38:11 PDT 2017
Thanks to rtrussell (this thread (https://forums.libsdl.org/viewtopic.php?t=12361)) I tried the SDL_BLENDMODE_NONE again and found my mistake. Previously I always set the SDL_BLENDMODE_NONE for the target texture I wanted to render to, but I needed to set it for the static/streaming texture. Now it works perfectly fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL