[vlc-commits] direct3d11: add missing long from 61dbb36ebd3d58f230bfeb1c171eabe770affedd
Steve Lhomme
git at videolan.org
Mon Jan 18 08:57:16 UTC 2021
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jan 18 09:55:53 2021 +0100| [44f56f4a16cf264d3cab6ae70d1ea8077da45e81] | committer: Steve Lhomme
direct3d11: add missing long from 61dbb36ebd3d58f230bfeb1c171eabe770affedd
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=44f56f4a16cf264d3cab6ae70d1ea8077da45e81
---
modules/video_output/win32/direct3d11.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index d59b9dc9ea..4d6fcd9f24 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1683,7 +1683,11 @@ static int Direct3D11CreateGenericResources(vout_display_t *vd)
#ifdef HAVE_D3D11_4_H
hr = InitRenderFence(sys);
- if (FAILED(hr))
+ if (SUCCEEDED(hr))
+ {
+ msg_Dbg(vd, "using GPU render fence");
+ }
+ else
#endif
{
D3D11_QUERY_DESC query = { 0 };
More information about the vlc-commits
mailing list