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:
parent
b627675ba0
commit
f068193fd9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue