Zebediah Figura : wined3d: Move state objects from state.c to device.c.