Open
Description
Hi,
I have a library that uses GLFW to setup the context for OpenGL offscreen rendering. At the moment, I initialize and terminate the it around my API calls.
However, the client code could also be depending on GLFW and needs it to remain in a initialized state after completion of my API functions, i.e. my library should not terminate GLFW if the client code initialized GLFW for its own purposes.
I was thinking of checking if it was already initialized upon entry to my API and if so not terminate, but #2036 mentions this is not possible as of now, and attempts to add reference counting have been hanging for a long time #2070.
Are there any workarounds for this use case?
Metadata
Metadata
Assignees
Labels
No labels