diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/context_glx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/context_glx.c b/video/out/opengl/context_glx.c index b415372e62..4d9d993121 100644 --- a/video/out/opengl/context_glx.c +++ b/video/out/opengl/context_glx.c @@ -339,6 +339,8 @@ static bool glx_init(struct ra_ctx *ctx) if (!ra_gl_ctx_init(ctx, gl, params)) goto uninit; + ra_add_native_resource(ctx->ra, "x11", vo->x11->display); + return true; uninit: |