mesa: explicitly delete textures before creating new ones