wined3d: Update "screen_format" when ChangeDisplaySettingsEx() call is redundant.
This fixes a regression introduced by commit
f6dde70624
.
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>
This commit is contained in:
parent
8df9a11ade
commit
06cf77b343
|
@ -4537,6 +4537,7 @@ HRESULT CDECL wined3d_set_adapter_display_mode(struct wined3d *wined3d,
|
|||
|| !(new_mode.dmFields & DM_DISPLAYFLAGS)))
|
||||
{
|
||||
TRACE("Skipping redundant mode setting call.\n");
|
||||
adapter->screen_format = new_format_id;
|
||||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue