Re: [AD] hm..

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


On 2006-12-11, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> Speaking of fogotten patches, I get a strange result when doing svn diff
> in my 4.2 checkout.
> 
> The first diff seems to fix a real warning, so I'll commit it.
> 
> The last one seems to make sense somehow, no idea where it is from
> though. Guess if I can verify that it is correct (looks like it is,
> right?), I'll commit it as well.

Yes, seems fine.  Put in an extra pair of brackets though.

    +#define MAKE_PP_BLENDER(c)     (!color_map &&
                                     ((al_assert(__FILE__, __LINE__), 0), 
                                      (color_map->data[(c) & 0xFF])))

> 
> The windows one likely must be from a thread on allegro.cc long ago, I'd
> be inclined to simply commit it as well. Either it does fix a deadlock
> as it claims, or else it shouldn't do harm :)

Found it:  http://www.allegro.cc/forums/thread/588138

Peter





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