summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-26 17:24:39 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-26 17:24:39 +0200
commitc82022f34932e22546976ecb8b1e956cf5f12101 (patch)
treef398c461dfc641fc29fa331e63f0dda987be170c /video
parent89cdccfa6c757a2cb0cdc5cd04f99237cf175a16 (diff)
downloadmpv-c82022f34932e22546976ecb8b1e956cf5f12101.tar.bz2
mpv-c82022f34932e22546976ecb8b1e956cf5f12101.tar.xz
vo_opengl_cb: fix deprecated option usage
opengl-debug was renamed to gpu-debug
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_opengl_cb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c
index 6d672a7129..a5fd49ff6f 100644
--- a/video/out/vo_opengl_cb.c
+++ b/video/out/vo_opengl_cb.c
@@ -295,7 +295,7 @@ int mpv_opengl_cb_draw(mpv_opengl_cb_context *ctx, int fbo, int vp_w, int vp_h)
if (vo)
gl_video_configure_queue(ctx->renderer, vo);
int debug;
- mp_read_option_raw(ctx->global, "opengl-debug", &m_option_type_flag,
+ mp_read_option_raw(ctx->global, "gpu-debug", &m_option_type_flag,
&debug);
ctx->gl->debug_context = debug;
ra_gl_set_debug(ctx->ra_ctx->ra, debug);