Commit b07c3720 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: kill DirectX warnings

parent 46b26be5
...@@ -613,9 +613,9 @@ static int DirectXCreateWindow( event_thread_t *p_event ) ...@@ -613,9 +613,9 @@ static int DirectXCreateWindow( event_thread_t *p_event )
p_event->class_main, /* name of window class */ p_event->class_main, /* name of window class */
_T(VOUT_TITLE) _T(" (DirectX Output)"), /* window title */ _T(VOUT_TITLE) _T(" (DirectX Output)"), /* window title */
i_style, /* window style */ i_style, /* window style */
(!p_event->wnd_cfg.x) ? CW_USEDEFAULT : (!p_event->wnd_cfg.x) ? (UINT)CW_USEDEFAULT :
(UINT)p_event->wnd_cfg.x, /* default X coordinate */ (UINT)p_event->wnd_cfg.x, /* default X coordinate */
(!p_event->wnd_cfg.y) ? CW_USEDEFAULT : (!p_event->wnd_cfg.y) ? (UINT)CW_USEDEFAULT :
(UINT)p_event->wnd_cfg.y, /* default Y coordinate */ (UINT)p_event->wnd_cfg.y, /* default Y coordinate */
rect_window.right - rect_window.left, /* window width */ rect_window.right - rect_window.left, /* window width */
rect_window.bottom - rect_window.top, /* window height */ rect_window.bottom - rect_window.top, /* window height */
......
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