src/mesa: update fallthrough comments

clang doesn't support /* fallthrough */ so switch to fallthrough
attribute.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>
This commit is contained in:
Pierre-Eric Pelloux-Prayer
2020-11-24 11:04:00 +01:00
parent 9b3e6014a9
commit a2aa777b68
23 changed files with 141 additions and 133 deletions

View File

@@ -1267,7 +1267,7 @@ _mesa_initialize_context(struct gl_context *ctx,
if (!ctx->BeginEnd || !ctx->Save)
goto fail;
/* fall-through */
FALLTHROUGH;
case API_OPENGL_CORE:
break;
case API_OPENGLES: