summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_draw.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-17 12:54:04 -0700
committerBrian Paul <[email protected]>2018-01-24 10:12:49 -0700
commitcb7ef0df00e19d87d4d2dd95aff2318df2e17dc3 (patch)
treeeadea518a10248af631f7d16694fa0ff01ee2193 /src/mesa/vbo/vbo_save_draw.c
parent8b3cb7c651eeed66e4c6cc719918c4dd792cf9e1 (diff)
vbo: replace assert(0) with unreachable()
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index ddf911700f8..a63e0674d89 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -194,7 +194,7 @@ bind_vertex_list(struct gl_context *ctx,
}
break;
default:
- assert(0);
+ unreachable("Bad vertex program mode");
}
for (attr = 0; attr < VERT_ATTRIB_MAX; attr++) {