wined3d: Recreate the logo texture if needed in wined3d_device_reset().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-03-28 23:37:36 +02:00 committed by Alexandre Julliard
parent b5da9ea382
commit 74492d7857
1 changed files with 2 additions and 0 deletions

View File

@ -4751,6 +4751,8 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
device->update_state = &device->state;
device_init_swapchain_state(device, swapchain);
if (wined3d_settings.logo)
device_load_logo(device, wined3d_settings.logo);
}
else if (device->back_buffer_view)
{