dispatch: Fix GLES3 symbol lookup

Looking for a symbol named "libGLESv2.so.2" is probably not going to
work very well.
macos/v1.5.9
Adam Jackson 7 years ago
parent 49bec45b28
commit 2edc497374
  1. 2
      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;

Loading…
Cancel
Save