wined3d: Assign *device in adapter_vk_create_device().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Józef Kucia 2019-04-30 13:06:40 +02:00 committed by Alexandre Julliard
parent cf9623e68f
commit 750016bc8d
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ static HRESULT adapter_vk_create_device(struct wined3d *wined3d, const struct wi
goto fail;
}
*device = &device_vk->d;
return WINED3D_OK;
fail: