Re: [AD] getpixel conflict with alpha blended sprites

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Eric Botcazou wrote:
I can't think of any. The same mask should be (conditionally) applied in src/c/cgfx.h and the documentation updated to reflect that getpixel() doesn't return the alpha channel (if any). Or, probably better, that all drawing primitives (as listed in "Drawing primitives" in the docs) don't take into account the alpha channel.

So, if I wanted to read an entire pixel, including the alpha channel, how would I do that?

Sven





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/