Henri Verbeet : wined3d: Keep a reference to the vertex declaration initially captured by CreateStateBlock () as well.