summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_translate.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-02-20 20:12:14 -0800
committerMatt Turner <[email protected]>2015-02-23 10:41:22 -0800
commit52049f8fd83f2ef31c2a4d645cfb7d7b2ab518a6 (patch)
treef8fe3aed95d8441143d86bd9482d2bb2224a9bf4 /src/mesa/math/m_translate.c
parent6a587a44617aed3638e324abd3bbdad8b499eb80 (diff)
mesa: Remove CHECK macro.
There's some commentary about how it's defined by other "modules", and maybe that was true in 2000 when the code was added. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/math/m_translate.c')
-rw-r--r--src/mesa/math/m_translate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/math/m_translate.c b/src/mesa/math/m_translate.c
index 3a8ca74f622..a5bf5d76fca 100644
--- a/src/mesa/math/m_translate.c
+++ b/src/mesa/math/m_translate.c
@@ -84,10 +84,6 @@ typedef void (*trans_3fn_func)(GLfloat (*to)[3],
#define MAX_TYPES TYPE_IDX(GL_DOUBLE)+1 /* 0xa + 1 */
-/* This macro is used on other systems, so undefine it for this module */
-
-#undef CHECK
-
static trans_1f_func _math_trans_1f_tab[MAX_TYPES];
static trans_1ui_func _math_trans_1ui_tab[MAX_TYPES];
static trans_1ub_func _math_trans_1ub_tab[MAX_TYPES];
@@ -108,7 +104,6 @@ static trans_4f_func _math_trans_4fn_tab[5][MAX_TYPES];
#define STRIDE stride
#define NEXT_F f += stride
#define NEXT_F2
-#define CHECK
@@ -604,7 +599,6 @@ static void init_translate_raw(void)
#undef CLASS
#endif
#undef ARGS
-#undef CHECK
#undef SRC_START
#undef DST_START
#undef NEXT_F