summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-07-05 15:26:04 -0400
committerAdam Jackson <ajax@redhat.com>2018-07-06 13:36:29 -0400
commit2edc4973743a6e9bc5705cee8ea6a64748cc673c (patch)
treec68b350990521e28491182023c5507f83be56183 /src
parent49bec45b281d2beda4dff64c8ebf832adbdc7c92 (diff)
downloadlibepoxy-2edc4973743a6e9bc5705cee8ea6a64748cc673c.tar.gz
dispatch: Fix GLES3 symbol lookup
Looking for a symbol named "libGLESv2.so.2" is probably not going to work very well.
Diffstat (limited to 'src')
-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;