direct3d11: only do the SwapChain Present() during Display
commitd8d6b99ff55c2890a9dc3c7394371fbeabd86a15
authorSteve Lhomme <robUx4@videolabs.io>
Thu, 14 Sep 2017 13:14:45 +0000 (14 15:14 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 27 Sep 2017 07:22:35 +0000 (27 09:22 +0200)
tree7888aad484f7490e050645233a4931e80921c8f5
parent39c8e0f563b586bf70a69706182b06439ff88e34
direct3d11: only do the SwapChain Present() during Display

Do everything we can during Prepare(). Display() is supposed to be as
instantaneous as possible.

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