[Piglit] [PATCH piglit] dispatch: add missing break

Eric Engestrom eric.engestrom at intel.com
Wed Aug 8 14:50:58 UTC 2018


Cc: Emil Velikov <emil.velikov at collabora.com>
Fixes: 7356bdd050b8475ed13c "dispatch: fallback to eglGetProcAddress for
                             core functions"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
 tests/util/piglit-dispatch-init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/util/piglit-dispatch-init.c b/tests/util/piglit-dispatch-init.c
index fc6b561ca0362e5d8bd3..3d9772d9b8b50b738739 100644
--- a/tests/util/piglit-dispatch-init.c
+++ b/tests/util/piglit-dispatch-init.c
@@ -225,8 +225,10 @@ get_core_proc_address(const char *function_name, int gl_10x_version)
 	switch (gl_10x_version) {
 	case 11:
 		p = do_dlsym(&gles1_handle, GLES1_LIB, function_name);
+		break;
 	case 20:
 		p = do_dlsym(&gles2_handle, GLES2_LIB, function_name);
+		break;
 	case 10:
 	default:
 		/* We query the address of core OpenGL functions as if they
-- 
Cheers,
  Eric



More information about the Piglit mailing list