Fixes Coverity "Missing break in switch" defect.

Signed-off-by: Vinson Lee <[email protected]>
---
 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

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to