[vlc-commits] vout:win32: destroy the hvideownd in all cases

Steve Lhomme git at videolan.org
Tue Apr 2 16:32:57 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Mar 28 07:14:47 2019 +0100| [a6ca4b5ac22f41c37851aa5cdd3c3e014ad1e709] | committer: Steve Lhomme

vout:win32: destroy the hvideownd in all cases

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

 modules/video_output/win32/events.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c
index 39302205cc..5ed34987b8 100644
--- a/modules/video_output/win32/events.c
+++ b/modules/video_output/win32/events.c
@@ -906,9 +906,7 @@ static void Win32VoutCloseWindow( event_thread_t *p_event )
 {
     msg_Dbg( p_event->obj, "Win32VoutCloseWindow" );
 
-    #if defined(MODULE_NAME_IS_direct3d9) || defined(MODULE_NAME_IS_direct3d11)
     DestroyWindow( p_event->hvideownd );
-    #endif
     DestroyWindow( p_event->hwnd );
     if( p_event->hfswnd )
         DestroyWindow( p_event->hfswnd );



More information about the vlc-commits mailing list