Commit e36b4e6a authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics (msw).

parent 955de909
...@@ -80,13 +80,6 @@ struct vout_display_sys_t ...@@ -80,13 +80,6 @@ struct vout_display_sys_t
HWND hparent; /* Handle of the parent window */ HWND hparent; /* Handle of the parent window */
HWND hfswnd; /* Handle of the fullscreen window */ HWND hfswnd; /* Handle of the fullscreen window */
/* Multi-monitor support
* TODO move to directx only */
HMONITOR hmonitor; /* handle of the current monitor */
GUID *display_driver;
HMONITOR (WINAPI* MonitorFromWindow)(HWND, DWORD);
BOOL (WINAPI* GetMonitorInfo)(HMONITOR, LPMONITORINFO);
/* size of the display */ /* size of the display */
RECT rect_display; RECT rect_display;
int display_depth; int display_depth;
...@@ -118,6 +111,12 @@ struct vout_display_sys_t ...@@ -118,6 +111,12 @@ struct vout_display_sys_t
picture_pool_t *pool; picture_pool_t *pool;
#ifdef MODULE_NAME_IS_directx #ifdef MODULE_NAME_IS_directx
/* Multi-monitor support */
HMONITOR hmonitor; /* handle of the current monitor */
GUID *display_driver;
HMONITOR (WINAPI* MonitorFromWindow)(HWND, DWORD);
BOOL (WINAPI* GetMonitorInfo)(HMONITOR, LPMONITORINFO);
/* Overlay alignment restrictions */ /* Overlay alignment restrictions */
int i_align_src_boundary; int i_align_src_boundary;
int i_align_src_size; int i_align_src_size;
......
...@@ -594,7 +594,6 @@ static void Direct3DClose(vout_display_t *vd) ...@@ -594,7 +594,6 @@ static void Direct3DClose(vout_display_t *vd)
IDirect3DDevice9_Release(sys->d3ddev); IDirect3DDevice9_Release(sys->d3ddev);
sys->d3ddev = NULL; sys->d3ddev = NULL;
sys->hmonitor = NULL;
} }
/** /**
......
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