Commit 640dcf42 authored by Thomas Guillem's avatar Thomas Guillem

gl: vaapi: add missing breaks

parent 84587bba
......@@ -400,12 +400,14 @@ opengl_tex_converter_vaapi_init(opengl_tex_converter_t *tc)
ret = tc_vaegl_init(tc, vaGetDisplay(x11dpy), x11dpy,
x11_native_destroy_cb);
break;
}
#endif
#ifdef HAVE_VA_WL
case VOUT_WINDOW_TYPE_WAYLAND:
ret = tc_vaegl_init(tc, vaGetDisplayWl(tc->gl->surface->display.wl),
NULL, NULL);
break;
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment