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:
Nikolay Sivov 2021-04-16 16:15:58 +03:00 committed by Alexandre Julliard
parent b7ac7ebbd6
commit 7705226802
1 changed files with 1 additions and 1 deletions

View File

@ -1949,7 +1949,7 @@ static HRESULT video_presenter_init_d3d(struct video_presenter *presenter)
present_params.Flags = D3DPRESENTFLAG_VIDEO;
present_params.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
hr = IDirect3D9_CreateDevice(d3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, GetDesktopWindow(),
0, &present_params, &device);
D3DCREATE_HARDWARE_VERTEXPROCESSING, &present_params, &device);
IDirect3D9_Release(d3d);