Use SDL_PixelFormatEnumToMasks to get the rmask/gmask/bmask instead of hard-coding them.