Originally there is only a shared FT_Library object. However, if we create multiple NVGcontext objects and as soon as we delete one, the shared FT_Library object will be released, too. And that would cause a problem for the rest of NVGcontext objects.
Originally there is only a shared
FT_Library
object. However, if we create multipleNVGcontext
objects and as soon as we delete one, the sharedFT_Library
object will be released, too. And that would cause a problem for the rest ofNVGcontext
objects.