[SDL] Pixel byte manipulation question.

Paul Duffy odubtaig at yahoo.co.uk
Mon Oct 1 14:24:56 PDT 2007


I've been investigating the SDL data structure and I'm thinking some of
my questions will be more quickly dealt with if I just ask here:

Is the combination of all the used RGBA masks guaranteed to be aligned
to the right of the Uint32 regardless of endianness (eg: 24 bit RGB/BGR
is always 0x00FFFFFF, 16Bit is always 0X0000FFFF/0x00007FFF)?

Is the order of the colorkey applied the same or is there a difference
in the operation?

Any clues would be much appreciated :)


		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html


More information about the SDL mailing list