Rémi Bernon : wined3d: Introduce public API to set a wined3d_state object on a device.