wined3d: Use core functions to set the stencil mask on GL 2.0+.
commit16c708c33909fa1fba6e0e160e276ecb3818388f
authorMatteo Bruni <mbruni@codeweavers.com>
Wed, 2 May 2018 22:04:02 +0000 (3 00:04 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 May 2018 14:05:14 +0000 (14 16:05 +0200)
treec4f05c62a11f925233d711d48721bd01bc550351
parent064bf225a0ba651b21895f995a7e6f2f75c81e01
wined3d: Use core functions to set the stencil mask on GL 2.0+.

glStencilMask() is defined as setting both front and back stencil
masks in GL 2.0+ and we don't want to use the EXT_stencil_two_side
entry points even if they happen to be available there.
D3D doesn't support separate front / back stencil write masks anyway.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/directx.c
dlls/wined3d/state.c