Use SDL's byte order check, just to be sure

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404092
This commit is contained in:
Sam Lantinga 2009-10-16 04:24:03 +00:00
parent b627675ba0
commit f068193fd9

View file

@ -885,7 +885,7 @@ static SDL_Surface* QZ_SetVideoMode (_THIS, SDL_Surface *current, int width,
}
else
{
#ifdef __LITTLE_ENDIAN__
#if SDL_BYTEORDER == SDL_LITTLE_ENDIAN
rmask = 0x0000FF00;
gmask = 0x00FF0000;
bmask = 0xFF000000;