Getting the maximum texture size