summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r--video/out/opengl/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
index fb3471cd3b..478421385c 100644
--- a/video/out/opengl/context.c
+++ b/video/out/opengl/context.c
@@ -159,6 +159,7 @@ static MPGLContext *init_backend(struct vo *vo, const struct mpgl_driver *driver
*ctx = (MPGLContext) {
.gl = talloc_zero(ctx, GL),
.vo = vo,
+ .global = vo->global,
.driver = driver,
};
if (probing)