quartz: Remove invalid check from put_WindowStyleEx in video renderer.
This commit is contained in:
parent
ab9cbecf1b
commit
02956bf798
|
@ -1802,9 +1802,6 @@ static HRESULT WINAPI Videowindow_put_WindowStyleEx(IVideoWindow *iface,
|
||||||
|
|
||||||
TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyleEx);
|
TRACE("(%p/%p)->(%d)\n", This, iface, WindowStyleEx);
|
||||||
|
|
||||||
if (WindowStyleEx & (WS_DISABLED|WS_HSCROLL|WS_ICONIC|WS_MAXIMIZE|WS_MINIMIZE|WS_VSCROLL))
|
|
||||||
return E_INVALIDARG;
|
|
||||||
|
|
||||||
if (!SetWindowLongA(This->hWnd, GWL_EXSTYLE, WindowStyleEx))
|
if (!SetWindowLongA(This->hWnd, GWL_EXSTYLE, WindowStyleEx))
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue