akrinke / Font-Stash

A dynamic font glyph cache for OpenGL.
114 stars 18 forks source link

GL_QUADS breaks GLES compatibility #8

Open ghost opened 10 years ago

ghost commented 10 years ago

commit 64e083f483c6a9d8184a0b62171cfa95c77ad5bc breaks GLES compatibility. I think GL_QUADS is unavailable in GLES, you need to use GL_TRIANGLE_FAN or GL_TRIANGLES depending on the call.

lsmoura commented 10 years ago

Just updated my fork with OpenGL3 support. Maybe it could be useful to you: https://github.com/lsmoura/fontstash