From 8c5ae809163c49cf3785edaee9af0f5b6cfe5f4b Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 16 Oct 2006 20:57:09 +0000 Subject: Fix build when DEBUG is defined but DEBUG_MATH is not. A couple places attempted to call _math_test_all_*_functions when DEBUG was defined. These routines only exist when DEBUG_MATH is defined. --- src/mesa/sparc/sparc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/sparc') diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index b7fe360d2c..1b77b0bb7b 100644 --- a/src/mesa/sparc/sparc.c +++ b/src/mesa/sparc/sparc.c @@ -133,7 +133,7 @@ void _mesa_init_all_sparc_transform_asm(void) _mesa_sparc_rescale_normals; #endif -#ifdef DEBUG +#ifdef DEBUG_MATH _math_test_all_transform_functions("sparc"); _math_test_all_cliptest_functions("sparc"); _math_test_all_normal_transform_functions("sparc"); -- cgit v1.2.3