diff options
author | Brian Paul <[email protected]> | 2018-01-17 12:54:04 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-24 10:12:49 -0700 |
commit | cb7ef0df00e19d87d4d2dd95aff2318df2e17dc3 (patch) | |
tree | eadea518a10248af631f7d16694fa0ff01ee2193 /src/mesa/vbo/vbo_exec_array.c | |
parent | 8b3cb7c651eeed66e4c6cc719918c4dd792cf9e1 (diff) |
vbo: replace assert(0) with unreachable()
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 024d4d6c80e..16521ff46d7 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -150,7 +150,7 @@ check_draw_elements_data(struct gl_context *ctx, GLsizei count, j = ((const GLuint *) elements)[i]; break; default: - assert(0); + unreachable("Unexpected index buffer type"); } /* check element j of each enabled array */ |