#9 incorrect blending on osx lion

closed-fixed
nobody
None
5
2012-03-12
2012-01-25
Anonymous
No

On my macbook pro running lion the screen surface is a 32bit surface whose pixel format is 0xBBGGRRAA. The blue component is not always blended properly: translucent green colors appear cyan when blended onto a white surface.

I've attached a test program that shows the problem and a proposed fix to the blender.

Discussion


  • Anonymous
    2012-01-25

    A test program that demonstrates the pixel blending bug

     
    Attachments
  • ferzkopp
    ferzkopp
    2012-02-17

    I cannot open the attached simpletest.c code (...it gives me some HTML/jQuery garbage in the saved file). Could you please email the test program to "aschiffler at ferzkopp dot net" ... thanks!

     
  • ferzkopp
    ferzkopp
    2012-03-12

    Fixed as of rev 80. Thanks for contributing the test code and fix!

     
  • ferzkopp
    ferzkopp
    2012-03-12

    • status: open --> closed-fixed