diff options
author | wm4 <wm4@nowhere> | 2015-07-02 00:25:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-02 00:25:30 +0200 |
commit | c169292902f59adcb4bc6bcf8bd4db89d5ce2e78 (patch) | |
tree | 2d3d4f3afcf021837934cc04cb210330818a7567 /video/out/gl_common.c | |
parent | 99bc0497453b79beea42a6d6986b1282d9137706 (diff) | |
download | mpv-c169292902f59adcb4bc6bcf8bd4db89d5ce2e78.tar.bz2 mpv-c169292902f59adcb4bc6bcf8bd4db89d5ce2e78.tar.xz |
vo_opengl: update EGL code
Use the newer internal GL backend API.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r-- | video/out/gl_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 7cc54980fa..63078a1e00 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -528,6 +528,7 @@ struct backend { }; extern const struct mpgl_driver mpgl_driver_x11; +extern const struct mpgl_driver mpgl_driver_x11egl; static const struct backend backends[] = { #if HAVE_RPI_GLES @@ -548,7 +549,7 @@ static const struct backend backends[] = { {.driver = &mpgl_driver_x11}, #endif #if HAVE_EGL_X11 - {"x11egl", mpgl_set_backend_x11egl}, + {.driver = &mpgl_driver_x11egl}, #endif }; |