FWIW this isn't the correct fix. This will scale the image down to *fit* within a box defined by sourceSize. So if you have a landscape wallpaper displayed on a portrait phone, it will be scaled down to fit within the width and then scaled up again on the GPU and cropped to fill the phone.
FWIW this isn't the correct fix. This will scale the image down to *fit* within a box defined by sourceSize. So if you have a landscape wallpaper displayed on a portrait phone, it will be scaled down to fit within the width and then scaled up again on the GPU and cropped to fill the phone.