Cc: Emil Velikov <[email protected]>
Fixes: 7356bdd050b8475ed13c "dispatch: fallback to eglGetProcAddress for
                             core functions"
Signed-off-by: Eric Engestrom <[email protected]>
---
 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

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

Reply via email to