mesa: update external textures when (re-)binding