diff options
author | wm4 <wm4@nowhere> | 2015-10-01 22:57:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-01 22:57:02 +0200 |
commit | bd87598af9c27315054814be4980806dd332f69c (patch) | |
tree | 4d902e7cc2c0b6f9ab7cee220665213115a0aa5b /video/out/opengl/common.c | |
parent | f4d62da8f028bb2359a9a4c6792690cfa5bc8930 (diff) | |
download | mpv-bd87598af9c27315054814be4980806dd332f69c.tar.bz2 mpv-bd87598af9c27315054814be4980806dd332f69c.tar.xz |
vo_opengl: wayland: switch to new internal API
Diffstat (limited to 'video/out/opengl/common.c')
-rw-r--r-- | video/out/opengl/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c index f5bb45d376..765a499706 100644 --- a/video/out/opengl/common.c +++ b/video/out/opengl/common.c @@ -501,6 +501,7 @@ struct backend { extern const struct mpgl_driver mpgl_driver_x11; extern const struct mpgl_driver mpgl_driver_x11egl; extern const struct mpgl_driver mpgl_driver_cocoa; +extern const struct mpgl_driver mpgl_driver_wayland; static const struct backend backends[] = { #if HAVE_RPI @@ -515,7 +516,7 @@ static const struct backend backends[] = { //Add the wayland backend before x11, in order to probe for a wayland-server before a x11-server and avoid using xwayland #if HAVE_GL_WAYLAND - {"wayland", mpgl_set_backend_wayland}, + {.driver = &mpgl_driver_wayland}, #endif #if HAVE_EGL_X11 {.driver = &mpgl_driver_x11egl}, |