[PATCH 5/5] d3d9: Stop setting the device state when setting the default ZENABLE state. (original) (raw)
Zebediah Figura z.figura12 at gmail.com
Sat Dec 7 10:11:08 CST 2019
- Previous message (by thread): [PATCH 4/5] d3d9: Stop setting the device state in d3d9_device_SetRenderState().
- Next message (by thread): [PATCH 5/5] d3d9: Stop setting the device state when setting the default ZENABLE state.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
dlls/d3d9/device.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 54271240e11..a45f4baa21b 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -1020,8 +1020,6 @@ static HRESULT d3d9_device_reset(struct d3d9_device *device, device->auto_mipmaps = 0; wined3d_stateblock_set_render_state(device->state, WINED3D_RS_ZENABLE, !!swapchain_desc.enable_auto_depth_stencil); - wined3d_device_set_render_state(device->wined3d_device, WINED3D_RS_ZENABLE, - !!swapchain_desc.enable_auto_depth_stencil); device_reset_viewport_state(device); } @@ -4673,8 +4671,6 @@ HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wine wined3d_stateblock_set_render_state(device->state, WINED3D_RS_ZENABLE, !!swapchain_desc->enable_auto_depth_stencil); - wined3d_device_set_render_state(device->wined3d_device, - WINED3D_RS_ZENABLE, !!swapchain_desc->enable_auto_depth_stencil); device_reset_viewport_state(device); if (FAILED(hr = d3d9_device_get_swapchains(device)))
2.23.0
- Previous message (by thread): [PATCH 4/5] d3d9: Stop setting the device state in d3d9_device_SetRenderState().
- Next message (by thread): [PATCH 5/5] d3d9: Stop setting the device state when setting the default ZENABLE state.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]