summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_x11egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_x11egl.c')
-rw-r--r--video/out/opengl/context_x11egl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/opengl/context_x11egl.c b/video/out/opengl/context_x11egl.c
index 2cf249fe1a..2b68007a33 100644
--- a/video/out/opengl/context_x11egl.c
+++ b/video/out/opengl/context_x11egl.c
@@ -131,10 +131,7 @@ static int mpegl_init(struct MPGLContext *ctx, int flags)
goto uninit;
}
- const char *egl_exts = eglQueryString(p->egl_display, EGL_EXTENSIONS);
-
- void *(*gpa)(const GLubyte*) = (void *(*)(const GLubyte*))eglGetProcAddress;
- mpgl_load_functions(ctx->gl, gpa, egl_exts, vo->log);
+ mpegl_load_functions(ctx->gl, vo->log);
ctx->native_display_type = "x11";
ctx->native_display = vo->x11->display;