summaryrefslogtreecommitdiffstats
path: root/scene/resources/compressed_texture.h
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 /scene/resources/compressed_texture.h
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 'scene/resources/compressed_texture.h')
-rw-r--r--scene/resources/compressed_texture.h1
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,