summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_angle.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_angle.c')
-rw-r--r--video/out/opengl/context_angle.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/video/out/opengl/context_angle.c b/video/out/opengl/context_angle.c
index 062835da30..3e227f93f8 100644
--- a/video/out/opengl/context_angle.c
+++ b/video/out/opengl/context_angle.c
@@ -623,11 +623,6 @@ static int GLAPIENTRY angle_swap_interval(int interval)
}
}
-static void *get_proc_address(const GLubyte *proc_name)
-{
- return eglGetProcAddress(proc_name);
-}
-
static int angle_init(struct MPGLContext *ctx, int flags)
{
struct priv *p = ctx->priv;
@@ -709,7 +704,7 @@ static int angle_init(struct MPGLContext *ctx, int flags)
if (!surface_ok)
goto fail;
- mpgl_load_functions(ctx->gl, get_proc_address, NULL, vo->log);
+ mpegl_load_functions(ctx->gl, vo->log);
current_ctx = ctx;
ctx->gl->SwapInterval = angle_swap_interval;