diff --git a/mpv-libretro.c b/mpv-libretro.c index 8402541..b5fbf96 100644 --- a/mpv-libretro.c +++ b/mpv-libretro.c @@ -139,25 +139,6 @@ static void *get_proc_address_mpv(void *fn_ctx, const char *name) void *proc_addr = (void *) hw_render.get_proc_address(name); #pragma GCC diagnostic pop -#ifdef HAVE_OPENGLES - /* EGL 1.4 (supported by the RPI firmware) does not necessarily return - * function pointers for core functions. - */ - if (!proc_addr) - { - void *h = dlopen("/opt/vc/lib/libGLESv2.so", RTLD_LAZY); - - if (!h) - h = dlopen("/usr/lib/libGLESv2.so", RTLD_LAZY); - - if (h) - { - proc_addr = dlsym(h, name); - dlclose(h); - } - } -#endif - if(proc_addr == NULL) log_cb(RETRO_LOG_ERROR, "Failure obtaining %s proc address\n", name);