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

d3d10core: Implement d3d10_device_RSGetState().

parent fbcce678
......@@ -580,7 +580,12 @@ static void STDMETHODCALLTYPE d3d10_device_SOGetTargets(ID3D10Device *iface,
static void STDMETHODCALLTYPE d3d10_device_RSGetState(ID3D10Device *iface, ID3D10RasterizerState **rasterizer_state)
{
FIXME("iface %p, rasterizer_state %p stub!\n", iface, rasterizer_state);
struct d3d10_device *device = impl_from_ID3D10Device(iface);
TRACE("iface %p, rasterizer_state %p.\n", iface, rasterizer_state);
if ((*rasterizer_state = device->rasterizer_state ? &device->rasterizer_state->ID3D10RasterizerState_iface : NULL))
ID3D10RasterizerState_AddRef(*rasterizer_state);
}
static void STDMETHODCALLTYPE d3d10_device_RSGetViewports(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