From 8b96a2913efdb0ac1e4ee08550059857e20782e9 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Mon, 7 Jun 2021 09:57:49 +0900 Subject: [PATCH] Add ETC2_EAC compressed texture format Change-Id: I0a5d5188c8241080244bc77d40c49a338f0af797 --- dali/internal/graphics/gles-impl/gles-graphics-types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.7.4