summaryrefslogtreecommitdiffstats
path: root/core/io/image.cpp
diff options
context:
space:
mode:
authornklbdev <nklbdev@gmail.com>2023-09-06 04:44:18 +0500
committernklbdev <nklbdev@gmail.com>2024-01-05 00:11:01 +0500
commit47d991678d519d90c964a2d4d833c4f16ca485af (patch)
tree3199a6bd6865680805ccc388945a67e8167f6798 /core/io/image.cpp
parent13a0d6e9b253654f5cc2a44f3d0b3cae10440443 (diff)
downloadredot-engine-47d991678d519d90c964a2d4d833c4f16ca485af.tar.gz
Fix lossless formats in PortableCompressedTexture2D
Update scene/resources/portable_compressed_texture.cpp Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'core/io/image.cpp')
-rw-r--r--core/io/image.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/image.cpp b/core/io/image.cpp
index c72064e4f7..9aa7c9794a 100644
--- a/core/io/image.cpp
+++ b/core/io/image.cpp
@@ -3013,6 +3013,7 @@ void Image::fill_rect(const Rect2i &p_rect, const Color &p_color) {
}
ImageMemLoadFunc Image::_png_mem_loader_func = nullptr;
+ImageMemLoadFunc Image::_png_mem_unpacker_func = nullptr;
ImageMemLoadFunc Image::_jpg_mem_loader_func = nullptr;
ImageMemLoadFunc Image::_webp_mem_loader_func = nullptr;
ImageMemLoadFunc Image::_tga_mem_loader_func = nullptr;