This should also check if the target platform (in the context parameter) is one of the Windows variants and if TextureFormat is Compressed, since the Compressed texture format should choose the best compression for the target platform.