summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 17:51:20 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:10 +0100
commitc8268701d9a4c5ff38b48f0e6b689f6dade4de42 (patch)
tree05d8a24ffc867f977a2178f5940d5723d82926bd /video/out/vo_opengl.c
parent2eefa31c886723bcc30664ea9fe3e2420f2cc0c6 (diff)
downloadmpv-c8268701d9a4c5ff38b48f0e6b689f6dade4de42.tar.bz2
mpv-c8268701d9a4c5ff38b48f0e6b689f6dade4de42.tar.xz
video/out: pass along global context
Will be needed for other parts (especially in gl_lcms.c).
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 5f24c7d65e..dea9f28266 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -397,7 +397,7 @@ static int preinit(struct vo *vo)
gl_video_set_options(p->renderer, p->renderer_opts);
if (p->icc_opts->profile) {
- struct lut3d *lut3d = mp_load_icc(p->icc_opts, vo->log);
+ struct lut3d *lut3d = mp_load_icc(p->icc_opts, vo->log, vo->global);
if (!lut3d)
goto err_out;
gl_video_set_lut3d(p->renderer, lut3d);