fun-gl-11: added the texture manager and loading of textures
fun-gl-11: reading the maximum texture size and resetting state of both managers in the renderer