vout: win32: direct3d11: fixup of d1e7dc1
[vlc.git] / modules / video_output / win32 / direct3d11.c
index 980585d..009281c 100644 (file)
@@ -1326,7 +1326,6 @@ static int SetupOutputFormat(vout_display_t *vd, video_format_t *fmt)
         Direct3D11DestroyResources(vd);
         return VLC_EGENERIC;
     }
-    vd->fmt = *fmt;
 
     return VLC_SUCCESS;
 }