From: Timothy Arceri Date: Wed, 1 Jul 2020 06:07:54 +0000 (+1000) Subject: mesa/vbo: add some missing fallthrough comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d88447d5ce47cfb2306a3ff58caa2e2610c653dc;p=mesa.git mesa/vbo: add some missing fallthrough comments Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index d6f9b53d68a..4e138f25c5b 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -739,10 +739,13 @@ copy_from_current(struct gl_context *ctx) switch (save->attrsz[i]) { case 4: save->attrptr[i][3] = save->current[i][3]; + /* fallthrough */ case 3: save->attrptr[i][2] = save->current[i][2]; + /* fallthrough */ case 2: save->attrptr[i][1] = save->current[i][1]; + /* fallthrough */ case 1: save->attrptr[i][0] = save->current[i][0]; break;