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

wingdi: avoid copying vd->info

parent e6dc15a1
...@@ -105,13 +105,10 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg, ...@@ -105,13 +105,10 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
if (Init(vd, fmtp)) if (Init(vd, fmtp))
goto error; goto error;
vout_display_info_t info = vd->info;
info.is_slow = false;
info.has_double_click = true;
info.has_pictures_invalid = true;
/* */ /* */
vd->info = info; vd->info.is_slow = false;
vd->info.has_double_click = true;
vd->info.has_pictures_invalid = true;
vd->pool = Pool; vd->pool = Pool;
vd->prepare = NULL; vd->prepare = NULL;
......
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