Henri Verbeet : wined3d: Replace the "stateBlock" wined3d_device field with a wined3d_state structure.