From 47d991678d519d90c964a2d4d833c4f16ca485af Mon Sep 17 00:00:00 2001 From: nklbdev Date: Wed, 6 Sep 2023 04:44:18 +0500 Subject: Fix lossless formats in PortableCompressedTexture2D MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update scene/resources/portable_compressed_texture.cpp Co-authored-by: RĂ©mi Verschelde --- scene/resources/compressed_texture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/resources/compressed_texture.h') 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, -- cgit v1.2.3