mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue