skaslev / gl3w

Simple OpenGL core profile loading
http://github.com/skaslev/gl3w
The Unlicense
709 stars 159 forks source link

opengles? #28

Open teamblubee opened 8 years ago

teamblubee commented 8 years ago

does gl3w support loading core context from opengles as well?

paroj commented 7 years ago

feel free to use/ port: https://github.com/paroj/glXXw

mkalte666 commented 5 years ago

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.

kotauskas commented 5 years ago

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.