16 Oct
2012
16 Oct
'12
1:39 p.m.
Aric Stewart <aric(a)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(a)winehq.org