rougier / freetype-gl

OpenGL text using one vertex buffer, one texture and FreeType
Other
1.65k stars 266 forks source link

Add support for using the GLAD GL loader #218

Closed bensanmorris closed 4 years ago

bensanmorris commented 4 years ago

Added support for using the GLAD OpenGL loader library. To enable set GL_WITH_GLAD CMake option to ON (OFF by default).

rougier commented 4 years ago

Hi @bensanmorris and thanks for the PR. I'm not familiar with the GLAD framework. Could you explain what it is wna dwhy this would be needed?

bensanmorris commented 4 years ago

Hi rougier. GLAD is another OpenGL extension wrangler library and is an alternative to GLEW. Unlike GLEW, GLAD supports both OpenGL and OpenGL ES and provides a handy webservice for generating the required OpenGL / ES support along with additional extensions of interest. I've tested the PR on Windows, Linux, macOS and Android.

rougier commented 4 years ago

Ok, thanks !