wined3d: Do not reset the material.