summaryrefslogtreecommitdiff
path: root/fix_mali_ktx.c
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2015-06-15 14:42:24 -0700
committerNanley Chery <nanley.g.chery@intel.com>2015-06-15 14:44:06 -0700
commit0309386e1dd8f89db8febd308dc8663edef4cecc (patch)
tree10ba8c1ab2dcf13d973f59a2b28262970ecb47d7 /fix_mali_ktx.c
parent71502b9bab14f784c93f3350ce390ccf06c2cc3b (diff)
Improve cleanup of failed mipmap gen and add correct sRGBs
Diffstat (limited to 'fix_mali_ktx.c')
-rw-r--r--fix_mali_ktx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fix_mali_ktx.c b/fix_mali_ktx.c
index 4fbb45d..812b8f6 100644
--- a/fix_mali_ktx.c
+++ b/fix_mali_ktx.c
@@ -28,6 +28,7 @@ main(int argc, char* argv[])
#define GL_RGBA16F 0x881A
#define GL_RGB16F 0x881B
#define GL_SRGB8_ALPHA8 0x8C43
+#define GL_SRGB8 0x8C41
uint32_t d_hdr[5] = {GL_HALF_FLOAT,
2,