[Piglit] [PATCH] arb_internalformat_query2: Add fall through comment.

Vinson Lee vlee at freedesktop.org
Wed Apr 6 22:59:32 UTC 2016


Silence Coverity "missing break in switch" defect.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 tests/spec/arb_internalformat_query2/common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/arb_internalformat_query2/common.c b/tests/spec/arb_internalformat_query2/common.c
index e07e2c507ba0..94268a7d2846 100644
--- a/tests/spec/arb_internalformat_query2/common.c
+++ b/tests/spec/arb_internalformat_query2/common.c
@@ -459,6 +459,7 @@ create_texture(const GLenum target,
                 /* cube map arrays also use TexImage3D buth depth
                  * needs to be a multiple of six */
                 depth = 6;
+                /* fall through */
         case GL_TEXTURE_2D_ARRAY:
         case GL_TEXTURE_3D:
                 glTexImage3D(target, 0, internalformat, width, height, depth, 0,
-- 
2.5.0



More information about the Piglit mailing list