direct3d11: do the staging texture allocation early
commit176e2c07d6b2d88cc133b1fe90a95486fa37e160
authorSteve Lhomme <robUx4@videolabs.io>
Tue, 28 Nov 2017 10:19:22 +0000 (28 11:19 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 28 Nov 2017 11:25:56 +0000 (28 12:25 +0100)
tree25ccd6daedcd1930a76b263807bf5ee24e42553b
parent63a6b5c36d0ec0073befd69de331f3541c7de638
direct3d11: do the staging texture allocation early

We might detect some issues before setting the format for good.

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