[Piglit] [PATCH] teximage-colors: Add missing break statement.
Vinson Lee
vlee at freedesktop.org
Sat Dec 13 21:24:37 PST 2014
Fix missing break in switch defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/texturing/teximage-colors.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/texturing/teximage-colors.c b/tests/texturing/teximage-colors.c
index a546697..fc25e2e 100644
--- a/tests/texturing/teximage-colors.c
+++ b/tests/texturing/teximage-colors.c
@@ -525,6 +525,7 @@ piglit_init(int argc, char **argv)
case GL_UNSIGNED_SHORT_5_5_5_1:
case GL_UNSIGNED_SHORT_1_5_5_5_REV:
tolerance[3] = 0.6;
+ break;
case GL_UNSIGNED_SHORT_5_6_5:
case GL_UNSIGNED_SHORT_5_6_5_REV:
tolerance[0] = 0.05;
--
1.9.2
More information about the Piglit
mailing list