Commit f068193f authored by Sam Lantinga's avatar Sam Lantinga

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
parent b627675b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment