diff options
author | wm4 <wm4@nowhere> | 2014-12-03 21:02:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-03 21:02:33 +0100 |
commit | bfa7893fe9601f969aedd26f7cfdba92d919a8b3 (patch) | |
tree | b4da31b5d5d2d4ecbb47aece72bd0df4de25808a /video/out/gl_common.h | |
parent | 82afc0f343e9b5d561051ebee51d0feffbde0377 (diff) | |
download | mpv-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.h | 1 |
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 |