H. Verbeet : wined3d: Copy the depth buffer after all dirty states are applied.