Commit e6dc15a1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

glwin32: avoid copying vd->info

parent 4e3c5758
......@@ -154,13 +154,11 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
if (!sys->vgl)
goto error;
vout_display_info_t info = vd->info;
info.has_double_click = true;
info.subpicture_chromas = subpicture_chromas;
/* Setup vout_display now that everything is fine */
vd->info.has_double_click = true;
vd->info.subpicture_chromas = subpicture_chromas;
/* Setup vout_display now that everything is fine */
*fmtp = fmt;
vd->info = info;
vd->pool = Pool;
vd->prepare = Prepare;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment