Commit 198340ff authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Do not modify depth test state in wined3d_device_reset().

For consistency with wined3d_device_init_3d(). 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 46fa862d
...@@ -4880,8 +4880,6 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device, ...@@ -4880,8 +4880,6 @@ 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);
wined3d_device_set_render_state(device,
WINED3D_RS_ZENABLE, !!swapchain->desc.enable_auto_depth_stencil);
if (wined3d_settings.logo) if (wined3d_settings.logo)
device_load_logo(device, wined3d_settings.logo); device_load_logo(device, wined3d_settings.logo);
} }
......
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