Henri Verbeet : wined3d: Unify the 2D and 3D paths in wined3d_device_update_texture().