Allow setting max texture size for software rendering
It would be convenient if we could set an environment variable to test the behavior of the GTK GL renderer in situations where texture slicing will be much more frequently required, by lowering the max texture size.