dxva2: Fix new handle flags initialization.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-10-19 17:10:39 +03:00 committed by Alexandre Julliard
parent db6c554909
commit 0a3a2e7dcb
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ static HRESULT WINAPI device_manager_OpenDeviceHandle(IDirect3DDeviceManager9 *i
sizeof(*manager->handles)))
{
*hdevice = ULongToHandle(manager->count + 1);
manager->handles[manager->count].flags |= HANDLE_FLAG_OPEN;
manager->handles[manager->count].flags = HANDLE_FLAG_OPEN;
manager->handles[manager->count].state_block = NULL;
manager->count++;
}