Skip to content

xwfont_library needs to utilize the OpenGL loader for shared #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xeekworx opened this issue Apr 14, 2018 · 0 comments
Open

xwfont_library needs to utilize the OpenGL loader for shared #2

xeekworx opened this issue Apr 14, 2018 · 0 comments
Assignees
Labels

Comments

@xeekworx
Copy link
Owner

An OpenGL loader exists in the project as xwfglad; basically using dav1d's glad with the prefixes changed so that they don't collide with any library user's glad (if they use it).

If the xwfont_library is built as a shared library (intended for use in C# tools in the future) then the included glad loader needs to actually be utilized so the OpenGL functions used by the NanoVG or future OpenGL rendering backends aren't bad pointers.

It currently works for static builds, because it relies on the library user to load enough of OpenGL for the library to work. It is technically their responsibility. I've not designed the xwfont_library to work outside of static builds unless it's for font generation in future tools that I haven't built yet.

@xeekworx xeekworx added the bug label Apr 14, 2018
@xeekworx xeekworx self-assigned this Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant