diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-11 19:34:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 19:34:36 +0200 |
commit | 50d1e0ea99dfa9a127cf99029cd71a1b0931c617 (patch) | |
tree | b31ba3927a48ae08029379234c07c2a7659106aa /drivers/png | |
parent | 5007ec433c419d5ebbc412a65e6757f604058d66 (diff) | |
parent | 1bc1e942089043418cc4415af313b86e4155bff6 (diff) |
Merge pull request #47835 from mortarroad/master-lossless-webp
Implement lossless WebP encoding
Diffstat (limited to 'drivers/png')
-rw-r--r-- | drivers/png/image_loader_png.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/png/image_loader_png.cpp b/drivers/png/image_loader_png.cpp index 8b2e786146..8cc76b01e1 100644 --- a/drivers/png/image_loader_png.cpp +++ b/drivers/png/image_loader_png.cpp @@ -101,6 +101,6 @@ Vector<uint8_t> ImageLoaderPNG::lossless_pack_png(const Ref<Image> &p_image) { ImageLoaderPNG::ImageLoaderPNG() { Image::_png_mem_loader_func = load_mem_png; - Image::lossless_unpacker = lossless_unpack_png; - Image::lossless_packer = lossless_pack_png; + Image::png_unpacker = lossless_unpack_png; + Image::png_packer = lossless_pack_png; } |