aboutsummaryrefslogtreecommitdiff
path: root/dxtn/txc_compress_dxtn.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxtn/txc_compress_dxtn.c')
-rw-r--r--dxtn/txc_compress_dxtn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dxtn/txc_compress_dxtn.c b/dxtn/txc_compress_dxtn.c
index 0be8d4618..d279401d7 100644
--- a/dxtn/txc_compress_dxtn.c
+++ b/dxtn/txc_compress_dxtn.c
@@ -26,6 +26,8 @@
#include <stdlib.h>
#include "txc_dxtn.h"
+#include "GL/gl.h"
+
/* weights used for error function, basically weights (unsquared 2/4/1) according to rgb->luminance conversion
not sure if this really reflects visual perception */
#define REDWEIGHT 4