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:
parent
b5da9ea382
commit
74492d7857
|
@ -4751,6 +4751,8 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
|
||||||
device->update_state = &device->state;
|
device->update_state = &device->state;
|
||||||
|
|
||||||
device_init_swapchain_state(device, swapchain);
|
device_init_swapchain_state(device, swapchain);
|
||||||
|
if (wined3d_settings.logo)
|
||||||
|
device_load_logo(device, wined3d_settings.logo);
|
||||||
}
|
}
|
||||||
else if (device->back_buffer_view)
|
else if (device->back_buffer_view)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue