direct3d11: fix possibly failing CopySubresourceRegion on odd dimensions
authorSteve Lhomme <robUx4@videolabs.io>
Tue, 1 Aug 2017 13:01:21 +0000 (15:01 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 4 Aug 2017 08:10:49 +0000 (10:10 +0200)
commit433c5ec3ce29bf9ce36fdcccc5012f27b1e7e458
tree6a6599e057638c913666ef49c64a92a5df60401c
parent355405f3653862f95eee9c663a9d18dd6b288359
direct3d11: fix possibly failing CopySubresourceRegion on odd dimensions

The texture is created with extra size so we can use more for the copy.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/win32/direct3d11.c