[Piglit] [PATCH] egl-create-context-valid-flag-debug-gles: Add missing break.
Vinson Lee
vlee at freedesktop.org
Wed Aug 6 17:01:46 PDT 2014
Fixes Coverity "Missing break in switch" defect.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/egl/spec/egl_khr_create_context/valid-flag-debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/egl/spec/egl_khr_create_context/valid-flag-debug.c b/tests/egl/spec/egl_khr_create_context/valid-flag-debug.c
index 2c25d48..2703335 100644
--- a/tests/egl/spec/egl_khr_create_context/valid-flag-debug.c
+++ b/tests/egl/spec/egl_khr_create_context/valid-flag-debug.c
@@ -126,6 +126,7 @@ try_debug_flag(EGLenum context_api, EGLenum context_bit)
* glGetIntegerv().
*/
dispatch_api = PIGLIT_DISPATCH_ES2;
+ break;
case EGL_OPENGL_ES2_BIT:
case EGL_OPENGL_ES3_BIT_KHR:
dispatch_api = PIGLIT_DISPATCH_ES2;
--
1.9.3
More information about the Piglit
mailing list