summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dispatch_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
index effd99a..839d9d5 100644
--- a/src/dispatch_common.c
+++ b/src/dispatch_common.c
@@ -732,7 +732,7 @@ epoxy_gles3_dlsym(const char *name)
return epoxy_get_proc_address(name);
} else {
if (get_dlopen_handle(&api.gles2_handle, GLES2_LIB, false, true)) {
- void *func = do_dlsym(&api.gles2_handle, GLES2_LIB, false);
+ void *func = do_dlsym(&api.gles2_handle, name, false);
if (func)
return func;