Henri Verbeet : wined3d: Fix the sub-resource index validation in wined3d_texture_update_overlay().