behdad / glyphy

GLyphy is a signed-distance-field (SDF) text renderer using OpenGL ES2 shading language.
Other
674 stars 76 forks source link

add OpenGL 3 port #38

Open mgood7123 opened 2 years ago

mgood7123 commented 2 years ago

fully ported to OpenGL 3 context

behdad commented 2 years ago

Thanks! I like the code to still build with GL2 as well. Any chance you can work on that?

mgood7123 commented 2 years ago

Thanks! I like the code to still build with GL2 as well. Any chance you can work on that?

i will try when i find the time

i am not sure how to detect the available GL version at runtime, eg if the GPU supports GL 3 or GL 2

mgood7123 commented 2 years ago

how about this? :)

now it has demo-gl2 and demo-gl3 :)