summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/wayland.c')
-rw-r--r--video/out/opengl/wayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/opengl/wayland.c b/video/out/opengl/wayland.c
index 2963ec8985..b4d74ef98d 100644
--- a/video/out/opengl/wayland.c
+++ b/video/out/opengl/wayland.c
@@ -124,6 +124,9 @@ static bool egl_create_context(struct vo_wayland_state *wl,
mpgl_load_functions(gl, (void*(*)(const GLubyte*))eglGetProcAddress, eglstr,
wl->log);
+ ctx->native_display_type = "wl";
+ ctx->native_display = wl->display.display;
+
return true;
}