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