[vlc-commits] direct3d11: remove unused field

Steve Lhomme git at videolan.org
Sat Oct 27 18:23:11 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sat Oct 27 14:36:54 2018 +0200| [ffdfab915ca2d37c079f0f6642c43a9b7ea00b8f] | committer: Steve Lhomme

direct3d11: remove unused field

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

 modules/video_output/win32/direct3d11.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 2f4719e4fc..1a708e613e 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -92,7 +92,6 @@ struct vout_display_sys_t
     display_info_t           display;
 
 #if !VLC_WINSTORE_APP
-    HINSTANCE                hdxgi_dll;        /* handle of the opened dxgi dll */
     d3d11_handle_t           hd3d;
 #endif
     IDXGISwapChain1          *dxgiswapChain;   /* DXGI 1.2 swap chain */
@@ -990,8 +989,6 @@ static void Display(vout_display_t *vd, picture_t *picture)
 static void Direct3D11Destroy(vout_display_t *vd)
 {
 #if !VLC_WINSTORE_APP
-    vout_display_sys_t *sys = vd->sys;
-    sys->hdxgi_dll = NULL;
     D3D11_Destroy( &vd->sys->hd3d );
 #endif
 }



More information about the vlc-commits mailing list