Hey,
We've got a newt application and we are setting the window icon and the mouse pointer.
I have mainly tested the mouse cursor, but the window icon shows the same behaviour.
On windows it shows the mouse cursor correctly but on the mac it's showing with one of the channels mixed up. I suspect Display.getNativePointerIconPixelFormat() is returning the wrong format on Mac OSX but I am not sure.
So for the cursor we do:
final PixelFormat pixFormat = PixelFormat.ARGB8888;
rec = new PixelRectangle.GenericPixelRect(pixFormat, size, 0, false, buffer);
final PointerIcon joglCursor = disp.createPointerIcon(rec, 0, 0);
glWindow.setPointerIcon(joglCursor);
-Dnewt.debug.Display.PointerIcon tells me the cursor gets converted to BGRA8888 on both Windows and Mac OSX.
The buffer is definitely in ARGB8888 format as I've printed the buffer out on both platforms and the int array is identical.
We've tested this on Mac OSX 10.10 (preview) and 10.9.5.
Shall I submit a bug report for this or is there anything else I might have wrong?
Programmer at Hunted Cow Studios