summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_debug_xform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/math/m_debug_xform.c')
-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 2af837cf64..0b07b4fd68 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;
}
}
}