Commit 3cffe923 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

ddraw: Return DDERR_INVALIDPARAMS for render states >= D3DSTATE_OVERRIDE_BIAS.

parent 99fbc04b
......@@ -2755,6 +2755,12 @@ static HRESULT WINAPI d3d_device3_SetRenderState(IDirect3DDevice3 *iface,
TRACE("iface %p, state %#x, value %#x.\n", iface, state, value);
if (state >= D3DSTATE_OVERRIDE_BIAS)
{
WARN("Unhandled state %#x.\n", state);
return DDERR_INVALIDPARAMS;
}
wined3d_mutex_lock();
switch (state)
......
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