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

For consistency with wined3d_device_init_3d().

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:
Józef Kucia 2017-12-07 12:14:24 +01:00 committed by Alexandre Julliard
parent 46fa862dc4
commit 198340ff67
1 changed files with 0 additions and 2 deletions

View File

@ -4880,8 +4880,6 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
device->update_state = &device->state;
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)
device_load_logo(device, wined3d_settings.logo);
}