projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d88447d
)
mesa: add missing fallthrough comment to teximage.c
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 1 Jul 2020 06:11:28 +0000
(16:11 +1000)
committer
Marge 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 19bad75b20ec55c230e256ff1d92879078381d96..decd67147e512dc58fdeb4186478c970f5fc2b25 100644
(file)
--- 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);