aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-07 08:30:11 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-07 08:30:23 +0200
commit81050e426bbd7e5cd53820ebd3c2a4a42cc18c6f (patch)
treeb76626e4c40389224518f04d80fb954448f750ab /src
parentfb73de12aecca5d14bf73326a977c87ac6c47949 (diff)
load eglGetProcAddress
Diffstat (limited to 'src')
-rw-r--r--src/gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gl.c b/src/gl.c
index 6d2c0fe..d905eb0 100644
--- a/src/gl.c
+++ b/src/gl.c
@@ -131,6 +131,7 @@ static int mgl_gl_load_glx(mgl_gl *self) {
static int mgl_gl_load_egl(mgl_gl *self) {
const dlsym_assign required_dlsym[] = {
+ { (void**)&self->eglGetProcAddress, "eglGetProcAddress" },
{ (void**)&self->eglGetDisplay, "eglGetDisplay" },
{ (void**)&self->eglInitialize, "eglInitialize" },
{ (void**)&self->eglTerminate, "eglTerminate" },