From c8268701d9a4c5ff38b48f0e6b689f6dade4de42 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 17:51:20 +0100 Subject: video/out: pass along global context Will be needed for other parts (especially in gl_lcms.c). --- video/out/vo_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_opengl.c') 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); -- cgit v1.2.3