summaryrefslogtreecommitdiffstats
path: root/modules/webp/webp_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webp/webp_common.cpp')
-rw-r--r--modules/webp/webp_common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/webp/webp_common.cpp b/modules/webp/webp_common.cpp
index 60cb0091e1..bc34a25733 100644
--- a/modules/webp/webp_common.cpp
+++ b/modules/webp/webp_common.cpp
@@ -84,6 +84,7 @@ Vector<uint8_t> _webp_packer(const Ref<Image> &p_image, float p_quality, bool p_
}
config.method = compression_method;
config.quality = p_quality;
+ config.use_sharp_yuv = 1;
pic.use_argb = 1;
pic.width = s.width;
pic.height = s.height;