gl3w
gl3w copied to clipboard
opengles?
does gl3w support loading core context from opengles as well?
feel free to use/ port: https://github.com/paroj/glXXw
at least for es2.0 contexts (on my stoneage intel gpu laptop; arch linux) i fount that removing the check in "parse_version()" works quite well. Maybe gl3w could remove that check or test for ES and call itself "ES compatible" from then on?
EDIT: also, you can check for GL3W_ERROR_OPENGL_VERSION during the init and just continue after that, it seems like it does load the symbols it can anyways. Works, is terribly hacky, but eh.
OpenGL ES isn't supported (and it's unlikely it'll ever be, since the project seems abandoned), but, as @paroj said, glXXw is an alternative. It's possible to port said generator to Python and merge it into the gl3w project.