[SDL] Copy RGBA pixels directly to target texture without blending

stewambo 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...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20170318/da1551bd/attachment.htm>


More information about the SDL mailing list