Re: x color conversion [Was: Re: [AD] minor fix]

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


"Evert Glebbeek" <eglebbk@xxxxxxxxxx> wrote:

> Ok, problem solved. The problem was in _xwin_private_set_palette_range and
> only appears when X uses BGR instead of RGB ordering.
> The set_color() function calls this code with the from and to range equal,
> something which the new code did not allow (but could handle fine).
> I also fixed a bug that caused the incorrect palette range to be copied
> when from was not 0.

Nice catch. :-) Also could you apply the patch I sent to the SF tracker?
Only DGA uses bank switching so there's a chunk of code in xwin.c that will
never be run.

-Henrik






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