Re: wined3d: Add code to cleanup device multistate_funcs