summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2021-04-10 17:11:58 +0200
committerMarge Bot <eric+marge@anholt.net>2021-04-15 16:01:22 +0000
commit2928c21eb73b66d22d1f383abf62de583547f81f (patch)
tree2d4b83a6af1534c1e5cbec8fe9103ca634215d88 /src/egl
parent96f0f46350715860ece0f2233a73eccf95ffba57 (diff)
Convert most remaining free-form fall-through comments to FALLTHROUGH
One exception is src/amd/addrlib/, for which -Wimplicit-fallthrough is explicitly disabled. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10220>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/platform_android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index 2bae8090eb9..1fb3166dc91 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -1120,7 +1120,7 @@ droid_get_buffers_parse_attachments(struct dri2_egl_surface *dri2_surf,
break;
}
- /* fall through for pbuffers */
+ FALLTHROUGH; /* for pbuffers */
case __DRI_BUFFER_DEPTH:
case __DRI_BUFFER_STENCIL:
case __DRI_BUFFER_ACCUM: