From: Heeyong Song Date: Mon, 7 Jun 2021 00:57:49 +0000 (+0900) Subject: Add ETC2_EAC compressed texture format X-Git-Tag: dali_2.0.30~12 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=8b96a2913efdb0ac1e4ee08550059857e20782e9 Add ETC2_EAC compressed texture format Change-Id: I0a5d5188c8241080244bc77d40c49a338f0af797 --- diff --git a/dali/internal/graphics/gles-impl/gles-graphics-types.h b/dali/internal/graphics/gles-impl/gles-graphics-types.h index e90f2bc..8c77721 100644 --- a/dali/internal/graphics/gles-impl/gles-graphics-types.h +++ b/dali/internal/graphics/gles-impl/gles-graphics-types.h @@ -865,12 +865,12 @@ struct GLTextureFormatType } case Graphics::Format::ETC2_R8G8B8A8_UNORM_BLOCK: { - Assign(0, 0); + Assign(GL_COMPRESSED_RGBA8_ETC2_EAC, 0); break; } case Graphics::Format::ETC2_R8G8B8A8_SRGB_BLOCK: { - Assign(0, 0); + Assign(GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, 0); break; } case Graphics::Format::EAC_R11_UNORM_BLOCK: