Commit 135970ac authored by Steve Lhomme's avatar Steve Lhomme

vout:win32: remove dead code

parent ee75f2b1
...@@ -95,7 +95,6 @@ int CommonInit(vlc_object_t *obj, display_win32_area_t *area, ...@@ -95,7 +95,6 @@ int CommonInit(vlc_object_t *obj, display_win32_area_t *area,
sys->hvideownd = NULL; sys->hvideownd = NULL;
sys->hparent = NULL; sys->hparent = NULL;
sys->is_first_placement = true; sys->is_first_placement = true;
sys->is_on_top = false;
/* */ /* */
sys->event = EventThreadCreate(obj, area->vdcfg.window); sys->event = EventThreadCreate(obj, area->vdcfg.window);
......
...@@ -67,7 +67,6 @@ typedef struct vout_display_sys_win32_t ...@@ -67,7 +67,6 @@ typedef struct vout_display_sys_win32_t
/* Misc */ /* Misc */
bool is_first_placement; bool is_first_placement;
bool is_on_top;
} vout_display_sys_win32_t; } vout_display_sys_win32_t;
......
...@@ -179,12 +179,6 @@ static bool GetExtenalSwapchainDimensions(void *opaque, UINT *width, UINT *heigh ...@@ -179,12 +179,6 @@ static bool GetExtenalSwapchainDimensions(void *opaque, UINT *width, UINT *heigh
} }
#endif #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) static HRESULT UpdateBackBuffer(vout_display_t *vd)
{ {
vout_display_sys_t *sys = vd->sys; vout_display_sys_t *sys = vd->sys;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment