Commit 73dba1a9 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Implement d3d11_immediate_context_RSGetState().

parent 53751bcc
...@@ -1148,7 +1148,12 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_SOGetTargets(ID3D11DeviceC ...@@ -1148,7 +1148,12 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_SOGetTargets(ID3D11DeviceC
static void STDMETHODCALLTYPE d3d11_immediate_context_RSGetState(ID3D11DeviceContext *iface, static void STDMETHODCALLTYPE d3d11_immediate_context_RSGetState(ID3D11DeviceContext *iface,
ID3D11RasterizerState **rasterizer_state) ID3D11RasterizerState **rasterizer_state)
{ {
FIXME("iface %p, rasterizer_state %p stub!\n", iface, rasterizer_state); struct d3d_device *device = device_from_immediate_ID3D11DeviceContext(iface);
TRACE("iface %p, rasterizer_state %p.\n", iface, rasterizer_state);
if ((*rasterizer_state = device->rasterizer_state ? &device->rasterizer_state->ID3D11RasterizerState_iface : NULL))
ID3D11RasterizerState_AddRef(*rasterizer_state);
} }
static void STDMETHODCALLTYPE d3d11_immediate_context_RSGetViewports(ID3D11DeviceContext *iface, static void STDMETHODCALLTYPE d3d11_immediate_context_RSGetViewports(ID3D11DeviceContext *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