Mesa (master): glx: add missing fallthrough comment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 3 00:33:04 UTC 2020


Module: Mesa
Branch: master
Commit: bf3fc3cf3d5dbf9f337a137d7715a8b88961fe3d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf3fc3cf3d5dbf9f337a137d7715a8b88961fe3d

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Jul  1 15:38:48 2020 +1000

glx: add missing fallthrough comment

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>

---

 src/glx/indirect_vertex_array.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glx/indirect_vertex_array.c b/src/glx/indirect_vertex_array.c
index c81aae60386..fb4ac4d05de 100644
--- a/src/glx/indirect_vertex_array.c
+++ b/src/glx/indirect_vertex_array.c
@@ -1749,7 +1749,7 @@ __indirect_glVertexAttribPointerNV(GLuint index, GLint size,
          return;
       }
       normalized = GL_TRUE;
-
+      /* fallthrough */
    case GL_SHORT:
    case GL_FLOAT:
    case GL_DOUBLE:



More information about the mesa-commit mailing list