SDL_GL_GetProcAddress equivalent

i am trying to use libmpv with OF, with GL callbacks.
MPV needs to be initiated with a function equivalent to SDL_GL_GetProcAddress (

It also exist in QT thru

it seems to be a util function to obtain a pointer to a named OpenGL function…
any idea if something similar exists in OF ?

Thanks !

Answering my own question:
eglGetProcAddress(name) does it,
but on RPi it doesn’t respond with cores function,
so falling back to dlsym(RTLD_DEFAULT, name); seems to work on C
but i can not make it works on OF, i don’t know why.