summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_opengl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 2a2dbf9e21..ee9c2a06ee 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -199,11 +199,9 @@ static bool reparse_cmdline(struct gl_priv *p, char *args)
opts = p->renderer_opts;
} else {
cfg = m_config_new(NULL, sizeof(*opts), gl_video_conf.defaults,
- gl_video_conf.opts);
+ gl_video_conf.opts,
+ p->vo->driver->init_option_string);
opts = cfg->optstruct;
- const char *init = p->vo->driver->init_option_string;
- if (init)
- m_config_parse_suboptions(cfg, "opengl", (char *)init);
r = m_config_parse_suboptions(cfg, "opengl", args);
}