Add ETC2_EAC compressed texture format 64/259364/1
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 7 Jun 2021 00:57:49 +0000 (09:57 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 7 Jun 2021 00:57:49 +0000 (09:57 +0900)
Change-Id: I0a5d5188c8241080244bc77d40c49a338f0af797

dali/internal/graphics/gles-impl/gles-graphics-types.h

index e90f2bc..8c77721 100644 (file)
@@ -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: