Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index d1768aa32b788f80a3cca0a575c078e092764b03..b87ee12d506ab84b04d9fcf464cf0689597545a0 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -597,6 +597,12 @@ static void push_codec_srcs(Path path) { |
{ |
push_image_gen_src(path, ImageGenSrc::kPlatform_Mode, alphaType, false); |
} |
+#elif defined(SK_BUILD_FOR_WIN) |
+ if (kWEBP_SkEncodedFormat != codec->getEncodedFormat() && |
+ kWBMP_SkEncodedFormat != codec->getEncodedFormat()) |
+ { |
+ push_image_gen_src(path, ImageGenSrc::kPlatform_Mode, alphaType, false); |
+ } |
#endif |
} |
} |