summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2015-06-17 16:51:22 -0700
committerNanley Chery <nanley.g.chery@intel.com>2015-06-17 16:51:22 -0700
commit692997c34eaf3eab9b95658c453392dc2627b58f (patch)
treeaa4650634e3d4be47fc377c85769774106552891
parent30d14a58d160847559a7823f43e2040af573b28b (diff)
add new astcenc binary with correct sRGB behavior
-rwxr-xr-xastcencbin762990 -> 877264 bytes
-rw-r--r--fix_mali_ktx.c6
2 files changed, 3 insertions, 3 deletions
diff --git a/astcenc b/astcenc
index bd04401..3d592bf 100755
--- a/astcenc
+++ b/astcenc
Binary files differ
diff --git a/fix_mali_ktx.c b/fix_mali_ktx.c
index 812b8f6..6928603 100644
--- a/fix_mali_ktx.c
+++ b/fix_mali_ktx.c
@@ -44,9 +44,9 @@ main(int argc, char* argv[])
uint32_t d_srgb[5] = {GL_UNSIGNED_BYTE,
1,
- GL_RGBA,
- GL_SRGB8_ALPHA8,
- GL_RGBA};
+ GL_RGB,
+ GL_SRGB8,
+ GL_RGB};
uint32_t *packet = NULL;
if (hdr) {