Re: [Pixman] Strange looking text in 'dither_factor_bayer_8'

2019-06-06 Thread John Emmas
On 06/06/2019 16:17, Basile Clement wrote: This is supposed to be binary numbers. I forgot this was a nonstandard extension ; they should be changed to corresponding hex values: 0b001 -> 0x1 ; 0b010 -> 0x2 ; 0b100 -> 0x4. Thanks Basile, that works now. Would you mind pushing this upstream

Re: [Pixman] Strange looking text in 'dither_factor_bayer_8'

2019-06-06 Thread Maarten Lankhorst
Op 06-06-2019 om 16:41 schreef John Emmas: > MSVC is complaining about a new function called 'dither_factor_bayer_8' (in > pixman/pixman-bits-image.c).  The relevant code looks like this:- > >     m = ((y & 0b001) << 5) | ((x & 0b001) << 4) | >     ((y & 0b010) << 2) | ((x & 0b010) << 1) | >     (

[Pixman] Strange looking text in 'dither_factor_bayer_8'

2019-06-06 Thread John Emmas
MSVC is complaining about a new function called 'dither_factor_bayer_8' (in pixman/pixman-bits-image.c). The relevant code looks like this:- m = ((y & 0b001) << 5) | ((x & 0b001) << 4) | ((y & 0b010) << 2) | ((x & 0b010) << 1) | ((y & 0b100) >> 1) | ((x & 0b100) >> 2); It's complai