From c82022f34932e22546976ecb8b1e956cf5f12101 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 26 Sep 2017 17:24:39 +0200 Subject: vo_opengl_cb: fix deprecated option usage opengl-debug was renamed to gpu-debug --- video/out/vo_opengl_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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); -- cgit v1.2.3