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

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2009-10-16 04:24:03 +00:00
parent 5ef00a7131
commit 79753ff54b

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;