No subject
Wed Jan 24 21:54:03 PST 2007
> Your main loop also seems to assume the pixel size is always a UInt32.
> You should have a look at the GetPixel/SetPixel functions in the doco.
> http://sdldoc.csn.ul.ie/guidevideo.php
I think (there I go again), that pixel info is always Uint32 it's just how
it's stored in that 32 bits that's different (i.e., 24 bit surfaces ignore the
first or last 8 bits depending on edianess). At least I assume so since both
GetRGB and GetRGBA both return Uint32. Then again, I could be wrong and that
could be my problem :)
--
Ti Leggett
leggett at eecs.tulane.edu
More information about the SDL
mailing list