diff options
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 498b6ae4c44..e940ecd7323 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5617,9 +5617,9 @@ compressed_tex_sub_image(unsigned dim, GLenum target, GLuint textureOrIndex, false, caller); break; - case TEX_MODE_CURRENT_ERROR: - no_error = true; case TEX_MODE_CURRENT_NO_ERROR: + no_error = true; + case TEX_MODE_CURRENT_ERROR: default: assert(textureOrIndex == 0); texObj = _mesa_get_current_tex_object(ctx, target); |