diff options
author | Morris Tabor <80684659+mortarroad@users.noreply.github.com> | 2021-04-12 18:56:50 +0200 |
---|---|---|
committer | Morris Tabor <80684659+mortarroad@users.noreply.github.com> | 2021-06-11 18:46:04 +0200 |
commit | 1bc1e942089043418cc4415af313b86e4155bff6 (patch) | |
tree | 5f4401ee3515d991ee905d46639c37310b3776fa /drivers/png | |
parent | 9990f28d8414e27843eb0626fbf7f0277e6c9130 (diff) |
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; } |