> ******* > white gets yellow > red gets green > green gets red > blue gets black > magenta gets green > cyan gets red > yellow stays yellow > ******* > > so the conclusion is that red and green are exchanged and > blue and the > alpha channel get exchanged...
Do you have any 16-bit data types perhaps? I don't know what the natural types for your target hardware are... But if your 32-bit types were made up of two transposed 16-bit types, that might do it? > but where can this happen? As I wrote in the start posting I > already had > problems with big/little endian, so this seems to be the same problem No idea. As I said before, I have *never* had to "fix" the handling of this in fltk, on a variety of platforms, of various endian order. I suppose we have to consider the possibility that this new bug is an artefact of whatever the other mod you made to fix your earlier problem? What *actually* happens if you run an unmodified fltk in this case here? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

