summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 10:56:36 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 11:00:01 +0900
commitc921a29b3a696f6fa99b648d6cd975dbcf106429 (patch)
tree30ff344e410f938389add32a6e314f49161aadeb /src/mesa/math
parentc47248bdf8d55f985b199fc6e15b0177305cb6fd (diff)
downloadexternal_mesa3d-c921a29b3a696f6fa99b648d6cd975dbcf106429.zip
external_mesa3d-c921a29b3a696f6fa99b648d6cd975dbcf106429.tar.gz
external_mesa3d-c921a29b3a696f6fa99b648d6cd975dbcf106429.tar.bz2
mesa: Replace abort by asserts.
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_debug_xform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/math/m_debug_xform.c b/src/mesa/math/m_debug_xform.c
index 2af837c..0b07b4f 100644
--- a/src/mesa/math/m_debug_xform.c
+++ b/src/mesa/math/m_debug_xform.c
@@ -206,7 +206,8 @@ static int test_transform_function( transform_func func, int psize,
case VAR:
break;
default:
- abort();
+ ASSERT(0);
+ return 0;
}
}
}