summaryrefslogtreecommitdiffstats
path: root/video/out/gl_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_wayland.c')
-rw-r--r--video/out/gl_wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_wayland.c b/video/out/gl_wayland.c
index 797f1648ac..3decda4bb6 100644
--- a/video/out/gl_wayland.c
+++ b/video/out/gl_wayland.c
@@ -131,7 +131,7 @@ static void egl_create_window(struct vo_wayland_state *wl,
uint32_t width,
uint32_t height)
{
- wl->egl_context.egl_window = wl_egl_window_create(wl->window.surface,
+ wl->egl_context.egl_window = wl_egl_window_create(wl->window.video_surface,
wl->window.width,
wl->window.height);