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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user