diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-05-22 21:52:36 +0200 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2015-05-22 21:56:16 +0200 |
commit | fa7b22c687f5b44e3cc0bcf4dd4413c35e2b6fd6 (patch) | |
tree | aa2ba73d5c96205142a31d8d5433f943dfa379bf | |
parent | f7ca2c83e1da067f02dcd57da5cf72a34dc5c0fc (diff) |
vo_opengl: switch to new OpenGL backend API for icc-profile-auto
The current code just segfaults.
-rw-r--r-- | video/out/vo_opengl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index bc1abdb0f9..53210487f6 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -241,7 +241,7 @@ static bool get_and_update_icc_profile(struct gl_priv *p, int *events) if (p->icc_opts->profile_auto) { MP_VERBOSE(p, "Querying ICC profile...\n"); bstr icc = bstr0(NULL); - int r = p->glctx->vo_control(p->vo, events, VOCTRL_GET_ICC_PROFILE, &icc); + int r = mpgl_control(p->glctx, events, VOCTRL_GET_ICC_PROFILE, &icc); if (r != VO_NOTAVAIL) { if (r == VO_FALSE) { |