wined3d: Stencil test also uses the depth/stencil buffer.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a3f829bbb8
commit
c47b28f5d4
|
@ -3709,7 +3709,8 @@ static inline bool wined3d_state_uses_depth_buffer(const struct wined3d_state *s
|
||||||
{
|
{
|
||||||
if (!state->depth_stencil_state)
|
if (!state->depth_stencil_state)
|
||||||
return true;
|
return true;
|
||||||
return state->depth_stencil_state->desc.depth || state->depth_stencil_state->desc.depth_write;
|
return state->depth_stencil_state->desc.depth || state->depth_stencil_state->desc.depth_write
|
||||||
|
|| state->depth_stencil_state->desc.stencil;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct wined3d_dummy_textures
|
struct wined3d_dummy_textures
|
||||||
|
|
Loading…
Reference in New Issue