programs/winemenubuilder: scale 64x64 classic icons to 48x48 for Mac OS/X
Alexandre Julliard
julliard at winehq.org
Tue Oct 16 13:39:38 CDT 2012
Aric Stewart <aric at codeweavers.com> writes:
> @@ -403,6 +404,13 @@ static HRESULT convert_to_native_icon(IStream *icoFile, int *indices, int numInd
> WINE_ERR("error 0x%08X creating IWICBitmapDecoder\n", hr);
> goto end;
> }
> +#ifdef __APPLE__
> + hr = IWICImagingFactory_CreateBitmapScaler(factory, &scaler);
> + if (FAILED(hr))
> + {
> + WINE_WARN("error 0x%08X creating IWICBitmapScaler\n", hr);
> + }
> +#endif
Please try to do that without adding #ifdefs in generic functions.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list