diff options
author | wm4 <wm4@nowhere> | 2015-10-01 22:25:12 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-01 22:42:25 +0200 |
commit | f4d62da8f028bb2359a9a4c6792690cfa5bc8930 (patch) | |
tree | 458a2be844057c4d87055089d36a640b28cfa595 /video/out/vo_opengl.c | |
parent | ae7212963ee55c11cf025beccf86c55c1d898128 (diff) | |
download | mpv-f4d62da8f028bb2359a9a4c6792690cfa5bc8930.tar.bz2 mpv-f4d62da8f028bb2359a9a4c6792690cfa5bc8930.tar.xz |
vo_opengl: cocoa: switch to new internal API
Diffstat (limited to 'video/out/vo_opengl.c')
-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 7c287efc7c..2522c2e5c8 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -247,7 +247,7 @@ static bool get_and_update_icc_profile(struct gl_priv *p, int *events) static void get_and_update_ambient_lighting(struct gl_priv *p, int *events) { int lux; - int r = p->glctx->vo_control(p->vo, events, VOCTRL_GET_AMBIENT_LUX, &lux); + int r = mpgl_control(p->glctx, events, VOCTRL_GET_AMBIENT_LUX, &lux); if (r == VO_TRUE) { gl_video_set_ambient_lux(p->renderer, lux); } |