summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-02 00:25:30 +0200
committerwm4 <wm4@nowhere>2015-07-02 00:25:30 +0200
commitc169292902f59adcb4bc6bcf8bd4db89d5ce2e78 (patch)
tree2d3d4f3afcf021837934cc04cb210330818a7567 /video/out/gl_common.c
parent99bc0497453b79beea42a6d6986b1282d9137706 (diff)
downloadmpv-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.c3
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
};