diff options
author | nklbdev <nklbdev@gmail.com> | 2023-09-06 04:44:18 +0500 |
---|---|---|
committer | nklbdev <nklbdev@gmail.com> | 2024-01-05 00:11:01 +0500 |
commit | 47d991678d519d90c964a2d4d833c4f16ca485af (patch) | |
tree | 3199a6bd6865680805ccc388945a67e8167f6798 /scene/resources/compressed_texture.h | |
parent | 13a0d6e9b253654f5cc2a44f3d0b3cae10440443 (diff) | |
download | redot-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 'scene/resources/compressed_texture.h')
-rw-r--r-- | scene/resources/compressed_texture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/compressed_texture.h b/scene/resources/compressed_texture.h index 5297d79cfe..932109617f 100644 --- a/scene/resources/compressed_texture.h +++ b/scene/resources/compressed_texture.h @@ -40,6 +40,7 @@ class CompressedTexture2D : public Texture2D { public: enum DataFormat { + DATA_FORMAT_UNDEFINED, DATA_FORMAT_IMAGE, DATA_FORMAT_PNG, DATA_FORMAT_WEBP, |