Re: [AD] [BUG] Mask color bug. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Yes almost. Is it possible to change bitmap_mask_color() in something
> which would look like that ?
>
> if (bitmap_color_depth(bmp) == 8)
> return 0;
> else
> return makecol_depth(bitmap_color_depth(bmp), 255, 0, 255);
I think it's a sensible proposal. However it will have to wait until the 5.2
or something like that.
> Or may be some people do not like pink to be the transparent color ?
It's supposedly a not very often used color.
> Docs tells explicitely that bright pink is the transparent color anyway.
Then a little clarification would be warmly welcomed !
--
Eric Botcazou
ebotcazou@xxxxxxxxxx