[vlc-commits] vout:win32: remove dead code
Steve Lhomme
git at videolan.org
Tue Apr 30 11:13:42 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Apr 16 08:36:22 2019 +0200| [135970ac4ef50f3384f9fe1ddc6b9ee684789ce2] | committer: Steve Lhomme
vout:win32: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=135970ac4ef50f3384f9fe1ddc6b9ee684789ce2
---
modules/video_output/win32/common.c | 1 -
modules/video_output/win32/common.h | 1 -
modules/video_output/win32/direct3d11.c | 6 ------
3 files changed, 8 deletions(-)
diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index f75a1310c6..5a82e2abd8 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -95,7 +95,6 @@ int CommonInit(vlc_object_t *obj, display_win32_area_t *area,
sys->hvideownd = NULL;
sys->hparent = NULL;
sys->is_first_placement = true;
- sys->is_on_top = false;
/* */
sys->event = EventThreadCreate(obj, area->vdcfg.window);
diff --git a/modules/video_output/win32/common.h b/modules/video_output/win32/common.h
index 8eb13d45ca..4d81df87be 100644
--- a/modules/video_output/win32/common.h
+++ b/modules/video_output/win32/common.h
@@ -67,7 +67,6 @@ typedef struct vout_display_sys_win32_t
/* Misc */
bool is_first_placement;
- bool is_on_top;
} vout_display_sys_win32_t;
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index f60f9b2d95..df389c6752 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -179,12 +179,6 @@ static bool GetExtenalSwapchainDimensions(void *opaque, UINT *width, UINT *heigh
}
#endif
-static inline bool RectEquals(const RECT *r1, const RECT *r2)
-{
- return r1->bottom == r2->bottom && r1->top == r2->top &&
- r1->left == r2->left && r1->right == r2->right;
-}
-
static HRESULT UpdateBackBuffer(vout_display_t *vd)
{
vout_display_sys_t *sys = vd->sys;
More information about the vlc-commits
mailing list