diff options
author | wm4 <wm4@nowhere> | 2015-10-02 18:09:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-02 18:10:58 +0200 |
commit | fe993a67123f3e7bf8c92d7b38545ffc2aba79ed (patch) | |
tree | 2fe6271e161d12a76ff21b747c40e61170f8c5af /video/out/opengl/common.c | |
parent | 69bc7e34b9ce6a8be6731a42a00a01a120194a41 (diff) | |
download | mpv-fe993a67123f3e7bf8c92d7b38545ffc2aba79ed.tar.bz2 mpv-fe993a67123f3e7bf8c92d7b38545ffc2aba79ed.tar.xz |
vo_opengl: w32: 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 765a499706..3973a533e9 100644 --- a/video/out/opengl/common.c +++ b/video/out/opengl/common.c @@ -502,6 +502,7 @@ 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; +extern const struct mpgl_driver mpgl_driver_w32; static const struct backend backends[] = { #if HAVE_RPI @@ -511,7 +512,7 @@ static const struct backend backends[] = { {.driver = &mpgl_driver_cocoa}, #endif #if HAVE_GL_WIN32 - {"win", mpgl_set_backend_w32}, + {.driver = &mpgl_driver_w32}, #endif //Add the wayland backend before x11, in order to probe for a wayland-server before a x11-server and avoid using xwayland |