[vlc-commits] direct3d9: remove useless winstore test
Steve Lhomme
git at videolan.org
Tue Nov 20 09:18:10 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Nov 16 15:49:23 2018 +0100| [09a14b52e656c225f8ff68b3605c8de371467714] | committer: Steve Lhomme
direct3d9: remove useless winstore test
D3D9 is not available on Store apps.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09a14b52e656c225f8ff68b3605c8de371467714
---
modules/video_output/win32/direct3d9.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 797e5656a3..174bb4addc 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1647,7 +1647,6 @@ static int Open(vlc_object_t *object)
if ( !vd->obj.force && vd->source.mastering.max_luminance != 0)
return VLC_EGENERIC; /* let a module who can handle it do it */
-#if !VLC_WINSTORE_APP
/* do not use D3D9 on XP unless forced */
if (!vd->obj.force)
{
@@ -1658,7 +1657,6 @@ static int Open(vlc_object_t *object)
if (!isVistaOrGreater)
return VLC_EGENERIC;
}
-#endif
/* Allocate structure */
vd->sys = sys = calloc(1, sizeof(vout_display_sys_t));
More information about the vlc-commits
mailing list