It helps to use the right constant. :)

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2009-10-16 04:29:27 +00:00
parent 79753ff54b
commit a225b3fe43

View File

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