Destroy all textures in the GLResourceManager destructor.