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:
parent
db6c554909
commit
0a3a2e7dcb
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue