Commit 36738e52 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

direct3d11: fix the staging texture dimensions

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent bcaca109
......@@ -748,6 +748,8 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned pool_size)
/* we need a staging texture */
video_format_t staging_fmt;
video_format_Copy(&staging_fmt, &surface_fmt);
staging_fmt.i_width = staging_fmt.i_visible_width;
staging_fmt.i_height = staging_fmt.i_visible_height;
if (AllocateTextures(vd, sys->picQuadConfig, &staging_fmt, 1, textures, true,
goto error;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment