Henri Verbeet : wined3d: Only invalidate state for the current context in tesselate_rectpatch().