Commit 5ee6d542 authored by Jeremy Bicha's avatar Jeremy Bicha

Cherry-pick dispatch-Fix-GLES3-symbol-lookup.patch

parent 7e7d5c94
From: Adam Jackson <ajax@redhat.com>
Date: Thu, 5 Jul 2018 15:26:04 -0400
Subject: dispatch: Fix GLES3 symbol lookup
Looking for a symbol named "libGLESv2.so.2" is probably not going to
work very well.
---
src/dispatch_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
index e2bb186..c6d9129 100644
--- a/src/dispatch_common.c
+++ b/src/dispatch_common.c
@@ -727,7 +727,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;
dispatch-Fix-GLES3-symbol-lookup.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment