Commit 06cf77b3 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Update "screen_format" when ChangeDisplaySettingsEx() call is redundant.

This fixes a regression introduced by commit f6dde706. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 8df9a11a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment