software draw2d broken alpha channel with 24 bit PNG

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
terence
Posts: 12
Joined: Sat Apr 01, 2006 2:22 pm
Contact:

software draw2d broken alpha channel with 24 bit PNG

Post by terence »

Doing a:
gDriver->draw2DImage(mSource->pSurf, core::position2d<s32>(nX+mOriginX, nY+mOriginY), mRect, 0,video::SColor(255,255,255,255), true);

where mSource->pSurf is a 24 PNG with alpha channel. Using the Software2 renderer the texture is rendered properly. Using the Software1, the alpha channel is not used.
Post Reply