d3d10core: Implement d3d10_device_OMGetDepthStencilState().

This commit is contained in:
Henri Verbeet 2012-10-02 22:15:37 +02:00 committed by Alexandre Julliard
parent a78fa40816
commit e4df956f95

View File

@ -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,