Re: RFR: 8298887: On the latest macOS+XCode the Robot API may report wrong colors

2022-12-21 Thread Alexander Zvegintsev
On Mon, 19 Dec 2022 21:48:54 GMT, Sergey Bylokhov wrote: > The new macOS SDK provided by XCode 14.2 changed this macro: > `# define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Little` > to this constant > `static const CGBitmapInfo kCGBitmapByteOrder32Host = > kCGBitmapByteOrder32Little;` > >

RFR: 8298887: On the latest macOS+XCode the Robot API may report wrong colors

2022-12-19 Thread Sergey Bylokhov
The new macOS SDK provided by XCode 14.2 changed this macro: `# define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Little` to this constant `static const CGBitmapInfo kCGBitmapByteOrder32Host = kCGBitmapByteOrder32Little;` As a result, our native code started to redefine the macro value to