[vlc-commits] direct3d11: only allow reference drivers explicitly

Steve Lhomme git at videolan.org
Wed Sep 27 09:20:44 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Sep 26 09:07:31 2017 +0200| [266ada4ecb563ed7bbbbcc6f30b30bd828984339] | committer: Jean-Baptiste Kempf

direct3d11: only allow reference drivers explicitly

Not in nightly builds.

Ref #18844

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=266ada4ecb563ed7bbbbcc6f30b30bd828984339
---

 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 10f4ffdd34..f37b4667e4 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1668,7 +1668,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
     static const D3D_DRIVER_TYPE driverAttempts[] = {
         D3D_DRIVER_TYPE_HARDWARE,
         D3D_DRIVER_TYPE_WARP,
-#ifndef NDEBUG
+#if 0 /* ifndef NDEBUG */
         D3D_DRIVER_TYPE_REFERENCE,
 #endif
     };



More information about the vlc-commits mailing list