Skip to content

Conversation

@BastiaanOlij
Copy link

Made these changes awhile ago but in case a broader audience is interested.

Especially for us poor Mac users a full VAO/VBO/Shader implemenation is needed to render once you switch over to OpenGL 3. As a result I enhanced glfontstash.h by adding a basic shader, create the needed buffers and make it work. Eventually I decided to add this as a new include file called gl3fontstash.h

It is basically a drop in replacement for the old one with only one function added called gl3fonsProjection that allows you to set an orthographical projection matrix to render the text in the correct position.

andrewvy added a commit to andrewvy/blocks that referenced this pull request May 14, 2016
Uses BastiaanOlij fork of FontStash for OpenGL 3.0 rendering.
memononen/fontstash#23

Adds a simple frametime counter in the topleft.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant