X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmesa%2Fmain%2Fteximage.c;h=decd67147e512dc58fdeb4186478c970f5fc2b25;hb=8b90310b4018056b9d7c8770565b84e1ba0938ab;hp=19bad75b20ec55c230e256ff1d92879078381d96;hpb=d88447d5ce47cfb2306a3ff58caa2e2610c653dc;p=mesa.git 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);