Commit e4df956f authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10core: Implement d3d10_device_OMGetDepthStencilState().

parent a78fa408
......@@ -572,8 +572,15 @@ static void STDMETHODCALLTYPE d3d10_device_OMGetBlendState(ID3D10Device *iface,
static void STDMETHODCALLTYPE d3d10_device_OMGetDepthStencilState(ID3D10Device *iface,
ID3D10DepthStencilState **depth_stencil_state, UINT *stencil_ref)
{
FIXME("iface %p, depth_stencil_state %p, stencil_ref %p stub!\n",
struct d3d10_device *device = impl_from_ID3D10Device(iface);
TRACE("iface %p, depth_stencil_state %p, stencil_ref %p.\n",
iface, depth_stencil_state, stencil_ref);
if ((*depth_stencil_state = device->depth_stencil_state
? &device->depth_stencil_state->ID3D10DepthStencilState_iface : NULL))
ID3D10DepthStencilState_AddRef(*depth_stencil_state);
*stencil_ref = device->stencil_ref;
}
static void STDMETHODCALLTYPE d3d10_device_SOGetTargets(ID3D10Device *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment