diff options
author | wm4 <wm4@nowhere> | 2014-12-03 21:13:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-03 21:13:59 +0100 |
commit | 63377744f3dfff04fe02c832b24f8537b78ee8d3 (patch) | |
tree | 7f3f3f0f46d4d814679975f6fe035dc3f412fa42 /video/out/vo_opengl.c | |
parent | 031aef9be9052dce8ff7b7446b979b2e2d418b3d (diff) | |
download | mpv-63377744f3dfff04fe02c832b24f8537b78ee8d3.tar.bz2 mpv-63377744f3dfff04fe02c832b24f8537b78ee8d3.tar.xz |
vdpau/GLX: don't access VO backend
Same as with the previous commits.
In theory, vdpau/x11 GL interop doesn't assume GLX. It could use EGL as
well. But since it's always GLX in practice, so we're fine with this.
Remove the gl_hwdec.mpgl field - it's unused now.
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index 482eed1b79..2499106355 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -227,7 +227,6 @@ static void load_hwdec_driver(struct gl_priv *p, *hwdec = (struct gl_hwdec) { .driver = drv, .log = mp_log_new(hwdec, p->vo->log, drv->api_name), - .mpgl = p->glctx, .gl = p->glctx->gl, .info = &p->hwdec_info, .gl_texture_target = GL_TEXTURE_2D, |