SDL2 texture blend help

Ivan Trombley itrombley at dot-borg.org
Wed Dec 13 03:03:09 UTC 2017


On Wednesday, 13 December 2017 at 01:44:33 UTC, Dmitry wrote:
> On Tuesday, 12 December 2017 at 23:28:23 UTC, Ivan Trombley 
> wrote:
>> Here's the code that produces the correct results (exactly the 
>> same as GIMP):
> Share images you used, please.

Background image:
http://a4.pbase.com/o10/09/605909/1/166706859.XKZZCnSO.background.png

Foreground image:
http://a4.pbase.com/o10/09/605909/1/166706860.c1yD4VWp.image.png

Composited through SDL:
http://a4.pbase.com/o10/09/605909/1/166706869.wLt9RofY.sdl.png

Composited in GIMP 2.9:
http://a4.pbase.com/o10/09/605909/1/166706870.S01BIhVG.gimp.png

When composited using the code I posted looks exactly like the 
GIMP 2.9 image.


More information about the Digitalmars-d mailing list