mesa: add missing fallthrough comment to teximage.c
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 1 Jul 2020 06:11:28 +0000 (16:11 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 23:52:52 +0000 (23:52 +0000)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>

src/mesa/main/teximage.c

index 19bad75b20ec55c230e256ff1d92879078381d96..decd67147e512dc58fdeb4186478c970f5fc2b25 100644 (file)
@@ -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);