mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
wined3d: Copy some missing fields to the new swapchain desc in wined3d_device_reset().
The ones that matter are enable_auto_depth_stencil and auto_depth_stencil_format. auto_restore_display_mode should never change in practice.
This commit is contained in:
parent
864b25e582
commit
bff80b8bab
1 changed files with 4 additions and 1 deletions
|
@ -4505,9 +4505,12 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
|
|||
|
||||
/* No special treatment of these parameters. Just store them */
|
||||
swapchain->desc.swap_effect = swapchain_desc->swap_effect;
|
||||
swapchain->desc.enable_auto_depth_stencil = swapchain_desc->enable_auto_depth_stencil;
|
||||
swapchain->desc.auto_depth_stencil_format = swapchain_desc->auto_depth_stencil_format;
|
||||
swapchain->desc.flags = swapchain_desc->flags;
|
||||
swapchain->desc.swap_interval = swapchain_desc->swap_interval;
|
||||
swapchain->desc.refresh_rate = swapchain_desc->refresh_rate;
|
||||
swapchain->desc.swap_interval = swapchain_desc->swap_interval;
|
||||
swapchain->desc.auto_restore_display_mode = swapchain_desc->auto_restore_display_mode;
|
||||
|
||||
/* What to do about these? */
|
||||
if (swapchain_desc->backbuffer_count
|
||||
|
|
Loading…
Reference in a new issue