[SDL] Re: could somebody just run this? (Michael Benfield)

Michael Benfield leftfist at mac.com
Tue Sep 6 07:30:16 PDT 2005


On Sep 5, 2005, at 4:55 PM, Thomas Omilian wrote:

> #if SDL_BYTEORDER == SDL_BIG_ENDIAN
>  ...

Did you actually run the code? Did you change it with your fix and run 
that? Did you even look at the code? No. This has nothing to do with 
byte order. The code tries the masks in both orders and gets incorrect 
results both ways, on both a little endian and a big endian system. I 
emailed the maintainer of SDL_gfx; he can reproduce the bug and is 
working on fixing it now.

Good grief...

Mike Benfield





More information about the SDL mailing list