evr/presenter: Set vertex processing flag for created d3d9 device.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b7ac7ebbd6
commit
7705226802
|
@ -1949,7 +1949,7 @@ static HRESULT video_presenter_init_d3d(struct video_presenter *presenter)
|
||||||
present_params.Flags = D3DPRESENTFLAG_VIDEO;
|
present_params.Flags = D3DPRESENTFLAG_VIDEO;
|
||||||
present_params.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
|
present_params.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
|
||||||
hr = IDirect3D9_CreateDevice(d3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, GetDesktopWindow(),
|
hr = IDirect3D9_CreateDevice(d3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, GetDesktopWindow(),
|
||||||
0, &present_params, &device);
|
D3DCREATE_HARDWARE_VERTEXPROCESSING, &present_params, &device);
|
||||||
|
|
||||||
IDirect3D9_Release(d3d);
|
IDirect3D9_Release(d3d);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue