summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-24 10:56:36 +0900
committerJosé Fonseca <[email protected]>2008-06-24 11:00:01 +0900
commitc921a29b3a696f6fa99b648d6cd975dbcf106429 (patch)
tree30ff344e410f938389add32a6e314f49161aadeb /src/mesa/math
parentc47248bdf8d55f985b199fc6e15b0177305cb6fd (diff)
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 2af837cf64b..0b07b4fd68d 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;
}
}
}