mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
vo_opengl_cb: allow changing debug option at runtime
This was always supposed to work. Just add the option declaration. Normally I'm not a fan of duplicating such things, but in this case it's (still) harmless.
This commit is contained in:
parent
54d14b4480
commit
41f6c15df5
@ -345,6 +345,7 @@ static bool reparse_cmdline(struct vo_priv *p, char *args)
|
||||
// list of options which can be changed at runtime
|
||||
#define OPT_BASE_STRUCT struct vo_priv
|
||||
static const struct m_option change_otps[] = {
|
||||
OPT_FLAG("debug", use_gl_debug, 0),
|
||||
OPT_SUBSTRUCT("", renderer_opts, gl_video_conf, 0),
|
||||
{0}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user