Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index d8421c95b062915d45262904e6c7a6866f28274a..9be90ae4348d8f2edda18fc4d481cc648d6797d8 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -603,6 +603,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 |
} |
} |