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

2018-08-08 Thread Emil Velikov
On 8 August 2018 at 15:50, Eric Engestrom  wrote:
> Cc: Emil Velikov 
> Fixes: 7356bdd050b8475ed13c "dispatch: fallback to eglGetProcAddress for
>  core functions"
> Signed-off-by: Eric Engestrom 
Feel free to push this ASAP.

Reviewed-by: Emil Velikov 

-Emil
___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit


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

2018-08-08 Thread Eric Engestrom
Cc: Emil Velikov 
Fixes: 7356bdd050b8475ed13c "dispatch: fallback to eglGetProcAddress for
 core functions"
Signed-off-by: Eric Engestrom 
---
 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(_handle, GLES1_LIB, function_name);
+   break;
case 20:
p = do_dlsym(_handle, GLES2_LIB, function_name);
+   break;
case 10:
default:
/* We query the address of core OpenGL functions as if they
-- 
Cheers,
  Eric

___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit