[vlc-commits] direct3d11: bring back the Flush
Steve Lhomme
git at videolan.org
Thu Oct 12 23:33:11 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Oct 10 14:40:15 2017 +0200| [da7bd76e91dce3a8cbfb847fe651879b4e5ab78b] | committer: Jean-Baptiste Kempf
direct3d11: bring back the Flush
It does help to get the processing going during Prepare() and before Display()
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da7bd76e91dce3a8cbfb847fe651879b4e5ab78b
---
modules/video_output/win32/direct3d11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 32615c8549..b8241f3df4 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1405,7 +1405,7 @@ static void Prepare(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
IDXGISwapChain4_SetHDRMetaData(sys->dxgiswapChain4, DXGI_HDR_METADATA_TYPE_HDR10, sizeof(hdr10), &hdr10);
}
- //ID3D11DeviceContext_Flush(sys->d3dcontext);
+ ID3D11DeviceContext_Flush(sys->d3dcontext);
}
static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpicture)
More information about the vlc-commits
mailing list