Commit 12daab98 authored by Steve Lhomme's avatar Steve Lhomme

direct3d11: fix direct rendering of software decoders

After 931080d3
parent cb0b0fc8
......@@ -1487,7 +1487,7 @@ static int Direct3D11CreateFormatResources(vout_display_t *vd, const video_forma
sys->picQuad.i_height = (sys->picQuad.i_height + 0x01) & ~0x01;
}
video_format_t surface_fmt = vd->fmt;
video_format_t surface_fmt = *fmt;
surface_fmt.i_width = sys->picQuad.i_width;
surface_fmt.i_height = sys->picQuad.i_height;
......
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