syoyo / tinyobjloader-c

Header only tiny wavefront .obj loader in pure C99
409 stars 60 forks source link

Failed to initialize GLEW. (linux) #32

Open pingpongcat opened 4 years ago

pingpongcat commented 4 years ago

I have no idea why GLEW does not initialize properly (Debian 10), I'm using glew for my other projects and everything is working just fine. In the meantime i replaced GLEW with glad

https://glad.dav1d.de/ (Opengl 2.0 compatibility mode)

and that solve the issue. Can I contribute my modyfication of the vewer example ? it's one dependency less.

syoyo commented 4 years ago

Yes, modification using glad is appreciated.

GLEW

I've also experienced sometimes glew does work well(but don't know why). glad seems much better to use these days.