summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-03 21:02:33 +0100
committerwm4 <wm4@nowhere>2014-12-03 21:02:33 +0100
commitbfa7893fe9601f969aedd26f7cfdba92d919a8b3 (patch)
treeb4da31b5d5d2d4ecbb47aece72bd0df4de25808a /video/out/gl_common.h
parent82afc0f343e9b5d561051ebee51d0feffbde0377 (diff)
downloadmpv-bfa7893fe9601f969aedd26f7cfdba92d919a8b3.tar.bz2
mpv-bfa7893fe9601f969aedd26f7cfdba92d919a8b3.tar.xz
vda: make independent from cocoa backend
Basically, don't access the vo field. There's also no reason anymore to access MPGLContext. We still need to access loaded GL functions though, so add a field for that to gl_hwdec. Untested.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index eb54ca41d2..d7ba888a93 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -171,6 +171,7 @@ struct mp_hwdec_info;
struct gl_hwdec {
const struct gl_hwdec_driver *driver;
struct mp_log *log;
+ GL *gl;
struct MPGLContext *mpgl;
struct mp_hwdec_info *info;
// For free use by hwdec driver