wined3d: Invalidate STATE_STENCIL_REF when switching between NULL and non-NULL depth/stencil views.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
36597eda3d
commit
08dc5b92e0
|
@ -1229,6 +1229,7 @@ static void wined3d_cs_exec_set_depth_stencil_view(struct wined3d_cs *cs, const
|
|||
{
|
||||
/* Swapping NULL / non NULL depth stencil affects the depth and tests */
|
||||
device_invalidate_state(device, STATE_DEPTH_STENCIL);
|
||||
device_invalidate_state(device, STATE_STENCIL_REF);
|
||||
device_invalidate_state(device, STATE_RASTERIZER);
|
||||
}
|
||||
else if (prev)
|
||||
|
|
Loading…
Reference in New Issue