From 8b90310b4018056b9d7c8770565b84e1ba0938ab Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 1 Jul 2020 16:11:28 +1000 Subject: [PATCH] mesa: add missing fallthrough comment to teximage.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/mesa/main/teximage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 19bad75b20e..decd67147e5 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5728,6 +5728,7 @@ compressed_tex_sub_image(unsigned dim, GLenum target, GLuint textureOrIndex, break; case TEX_MODE_CURRENT_NO_ERROR: no_error = true; + /* fallthrough */ case TEX_MODE_CURRENT_ERROR: default: assert(textureOrIndex == 0); -- 2.30.2