aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-22 18:45:32 -0600
committerIan Romanick <[email protected]>2012-10-16 14:57:20 -0700
commit198fa6452bf4cb7e5468263af5447932537c5314 (patch)
tree5d4e146dd6214ffebe5f16f092859547710765df /src/mesa/main/api_validate.c
parent7139ab80ca9b1b3572ef6da98765ca783e8e5e3b (diff)
mesa: remove ASSERT_NO_FEATURE macro
Was only used in one place. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/api_validate.c')
-rw-r--r--src/mesa/main/api_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c
index db9d14a4cc2..6f025080038 100644
--- a/src/mesa/main/api_validate.c
+++ b/src/mesa/main/api_validate.c
@@ -148,7 +148,7 @@ check_valid_to_render(struct gl_context *ctx, const char *function)
break;
default:
- ASSERT_NO_FEATURE();
+ assert(!"Invalid API value in check_valid_to_render()");
}
return GL_TRUE;