SkImageDecoder_WIC should work on Win7 with Win8 SDK.
https://codereview.appspot.com/7099044/ git-svn-id: http://skia.googlecode.com/svn/trunk@7139 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
01754bfd9d
commit
c18143e89b
@ -19,6 +19,15 @@
|
||||
#include "SkTScopedComPtr.h"
|
||||
#include "SkUnPreMultiply.h"
|
||||
|
||||
//All Windows SDKs back to XPSP2 export the CLSID_WICImagingFactory symbol.
|
||||
//In the Windows8 SDK the CLSID_WICImagingFactory symbol is still exported
|
||||
//but CLSID_WICImagingFactory is then #defined to CLSID_WICImagingFactory2.
|
||||
//Undo this #define if it has been done so that we link against the symbols
|
||||
//we intended to link against on all SDKs.
|
||||
#if defined(CLSID_WICImagingFactory)
|
||||
#undef CLSID_WICImagingFactory
|
||||
#endif
|
||||
|
||||
class SkImageDecoder_WIC : public SkImageDecoder {
|
||||
protected:
|
||||
virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode mode);
|
||||
|
Loading…
Reference in New Issue
Block a user