produces the final pixel 0xff7f0000 on windows, and 0xff3f0000 on mac. (I’m using svn version latest rev 551). Is it a bug or is there something I’m missing ?
They should be identical… The only difference I can think of is that the pc version might use some SSE optimisations, but even that shouldn’t make a difference. Very odd. How did you come across the problem?
ooops that fix was completely wrong… It is the LowLevelGraphicsSoftwareRenderer::clippedFillAlphaChannelWithColour that needs to be fixed, not blendAlphaMapARGB
Just replace the #if JUCE_MAC test by #if JUCE_BIG_ENDIAN and everything works fine
Oh, excellent - thanks for tracking it down! There’s also a similar line in clippedFillAlphaChannelWithImage() that needs changing. I guess those two lines fell through the net when I was porting to the intel mac!