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

d3d11: assert vd->info not clobbered

parent 45f9593a
......@@ -379,6 +379,7 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
if (Direct3D11Open(vd, fmtp)) {
msg_Err(vd, "Direct3D11 could not be opened");
assert(!vd->info.is_slow); /* vd->info was not modified */
goto error;
}
......
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