aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-07-01 16:46:28 +1000
committerMarge Bot <[email protected]>2020-07-02 23:52:53 +0000
commit651441c16fd2fa0eede876d70997cbfd646ef289 (patch)
tree05e36fccee8a35d501c29dba1dae53e211b2509e
parent9549443a8f0352a699bca3d47de92a145c9ced6c (diff)
mesa: update fallthrough comment so gcc can see it
Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
-rw-r--r--src/mesa/main/textureview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/textureview.c b/src/mesa/main/textureview.c
index 6aafeed2d17..0e3703a44ad 100644
--- a/src/mesa/main/textureview.c
+++ b/src/mesa/main/textureview.c
@@ -503,7 +503,7 @@ _mesa_set_texture_view_state(struct gl_context *ctx,
case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
texObj->NumLevels = 1;
texObj->ImmutableLevels = 1;
- /* fall through to set NumLayers */
+ /* fallthrough - to set NumLayers */
case GL_TEXTURE_2D_ARRAY:
case GL_TEXTURE_CUBE_MAP_ARRAY: