[vlc-devel] [PATCH 1/2] direct3d11: bring back the Flush
Steve Lhomme
robux4 at videolabs.io
Tue Oct 10 14:40:15 CEST 2017
It does help to get the processing going during Prepare() and before Display()
---
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 445c177135..74b479ef5c 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)
--
2.14.2
More information about the vlc-devel
mailing list