[AD] OpenGL Extension detection |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
This is a bit of a small issue. Not horribly important, but it might want to
be looked into.
The gl extension code currently is fetching GL_EXTENSIONS over 12,000 times
(the tracing program is still running as of this moment, I expect it to go on
a while). It looks like its an OpenGL 3 issue, but _ogl_is_extension_supported
is calling glGetIntegerv(GL_NUM_EXTENSIONS) for every call, and iterates
through the entire list of glGetStringi(GL_EXTENSIONS) for every single call
to it.
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx