Blit with alpha channel produces weird output

Aug 7, 2012 at 9:36 PM
Edited Aug 7, 2012 at 9:55 PM

I don’t know what I am doing wrong - I can’t add an overlay image over another using Blit method. The alpha on overlay png image messes everything.

Can you please look this sample:

Source Code

(Please ignore the bad bindings between the sliders and the text boxes)

Thank you!

Aug 7, 2012 at 10:29 PM

This seems to fix the problem:

(alchemy0 patch)


Aug 8, 2012 at 7:26 AM

Very good catch. Thanks!

I fixed the bug in the Blit method. See revision 93605


- Rene Schulte

Aug 8, 2012 at 10:28 AM

Thanks for the quick reply. It works as expected now!