projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9549443
)
mesa: update fallthrough comment so gcc can see it
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 1 Jul 2020 06:46:28 +0000
(16:46 +1000)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 2 Jul 2020 23:52:53 +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/textureview.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/textureview.c
b/src/mesa/main/textureview.c
index 6aafeed2d17bad8d407338c9b5de31534457014c..0e3703a44ad0bf244fe8a0b045c2950d8817450f 100644
(file)
--- a/
src/mesa/main/textureview.c
+++ b/
src/mesa/main/textureview.c
@@
-503,7
+503,7
@@
_mesa_set_texture_view_state(struct gl_context *ctx,
case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
texObj->NumLevels = 1;
texObj->ImmutableLevels = 1;
- /* fall
through
to set NumLayers */
+ /* fall
through -
to set NumLayers */
case GL_TEXTURE_2D_ARRAY:
case GL_TEXTURE_CUBE_MAP_ARRAY: