nanogui: Re: [FIX] add alpha channel into GdDrawImage software handling
Subject:
Re: Re: [nanogui] Re: Re: [FIX] add alpha channel into GdDrawImage software handling
From:
"Greg Haerr" ####@####.####
Date:
18 Mar 2010 19:47:53 -0000
Message-Id: <0e9101cac6d3$d58961b0$0300a8c0@RDP>
: Your code assumes the same order for declaration
: of the unsigned char r:5, g:6, b:5 structure.
Actually I understand now, we'll just use the
MW_CPU_BIG_ENDIAN flag and assume
that the C bitfields are allocated MSB->LSB
in the big endian case, which works without
requiring a later byte swap.
I'll apply your patch later this evening!
Regards,
Greg