Commit c83562af authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Move render state applying to drawprim.

parent 7532c759
......@@ -3328,10 +3328,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
return WINED3D_OK;
}
ENTER_GL();
/* TODO: Mark the state dirty instead of immediate applying */
StateTable[STATE_RENDER(State)].apply(STATE_RENDER(State), This->stateBlock);
LEAVE_GL();
IWineD3DDeviceImpl_MarkStateDirty(This, STATE_RENDER(State));
return WINED3D_OK;
}
......
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