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/x86-64/x86-64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/x86-64') diff --git a/src/mesa/x86-64/x86-64.c b/src/mesa/x86-64/x86-64.c index 21d978b06e..afb864c73a 100644 --- a/src/mesa/x86-64/x86-64.c +++ b/src/mesa/x86-64/x86-64.c @@ -1,4 +1,4 @@ -/* $Id: x86-64.c,v 1.2 2005/09/19 20:12:33 brianp Exp $ */ +/* $Id: x86-64.c,v 1.3 2006/10/16 20:57:09 idr Exp $ */ /* * Mesa 3-D graphics library @@ -105,7 +105,7 @@ void _mesa_init_all_x86_64_transform_asm(void) _mesa_x86_64_transform_points4_2d; */ -#ifdef DEBUG +#ifdef DEBUG_MATH _math_test_all_transform_functions("x86_64"); _math_test_all_cliptest_functions("x86_64"); _math_test_all_normal_transform_functions("x86_64"); -- cgit v1.2.3