Henri Verbeet : wined3d: Make the device parameter to device_invalidate_state() const.